[llvm-commits] CVS: llvm-java/include/llvm/Java/ClassFile.h
Alkis Evlogimenos
alkis at cs.uiuc.edu
Fri Aug 6 04:25:02 PDT 2004
Changes in directory llvm-java/include/llvm/Java:
ClassFile.h updated: 1.20 -> 1.21
---
Log message:
Add convinience member function to easily get ConstantClass objects
from the constant pool.
---
Diffs of the changes: (+3 -2)
Index: llvm-java/include/llvm/Java/ClassFile.h
diff -u llvm-java/include/llvm/Java/ClassFile.h:1.20 llvm-java/include/llvm/Java/ClassFile.h:1.21
--- llvm-java/include/llvm/Java/ClassFile.h:1.20 Fri Aug 6 06:06:49 2004
+++ llvm-java/include/llvm/Java/ClassFile.h Fri Aug 6 06:24:52 2004
@@ -79,9 +79,10 @@
uint16_t getMinorVersion() const { return minorV_; }
uint16_t getMajorVersion() const { return majorV_; }
- ConstantMethodRef* getConstantMethodRef(unsigned index) const;
- ConstantFieldRef* getConstantFieldRef(unsigned index) const;
Constant* getConstant(unsigned index) const { return cPool_[index]; }
+ ConstantClass* getConstantClass(unsigned index) const;
+ ConstantFieldRef* getConstantFieldRef(unsigned index) const;
+ ConstantMethodRef* getConstantMethodRef(unsigned index) const;
bool isPublic() const { return accessFlags_ & ACC_PUBLIC; }
bool isFinal() const { return accessFlags_ & ACC_FINAL; }
More information about the llvm-commits
mailing list