graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/ConstantPool.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/ConstantPool.java	Fri Apr 12 12:30:20 2013
--- new/graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/ConstantPool.java	Fri Apr 12 12:30:20 2013

*** 28,37 **** --- 28,44 ---- * resolution. They are used during compilation. */ public interface ConstantPool { /** + * Returns the number of entries the constant pool. + * + * @return number of entries in the constant pool + */ + int length(); + + /** * Ensures that the type referenced by the specified constant pool entry is loaded and * initialized. This can be used to compile time resolve a type. It works for field, method, or * type constant pool entries. * * @param cpi the index of the constant pool entry that references the type

graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/ConstantPool.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File