[llvm-commits] CVS: llvm-java/include/llvm/Java/ClassFile.h
Alkis Evlogimenos
alkis at cs.uiuc.edu
Mon Mar 28 17:01:27 PST 2005
Changes in directory llvm-java/include/llvm/Java:
ClassFile.h updated: 1.35 -> 1.36
---
Log message:
Eliminate class lookup for the superclass.
---
Diffs of the changes: (+2 -0)
ClassFile.h | 2 ++
1 files changed, 2 insertions(+)
Index: llvm-java/include/llvm/Java/ClassFile.h
diff -u llvm-java/include/llvm/Java/ClassFile.h:1.35 llvm-java/include/llvm/Java/ClassFile.h:1.36
--- llvm-java/include/llvm/Java/ClassFile.h:1.35 Sat Mar 26 13:14:02 2005
+++ llvm-java/include/llvm/Java/ClassFile.h Mon Mar 28 19:01:16 2005
@@ -99,9 +99,11 @@
bool isInterface() const { return accessFlags_ & ACC_INTERFACE; }
bool isAbstract() const { return accessFlags_ & ACC_ABSTRACT; }
+ unsigned getThisClassIndex() const { return thisClassIdx_; }
ConstantClass* getThisClass() const {
return getConstantClass(thisClassIdx_);
}
+ unsigned getSuperClassIndex() const { return superClassIdx_; }
ConstantClass* getSuperClass() const {
return superClassIdx_ ? getConstantClass(superClassIdx_) : NULL;
}
More information about the llvm-commits
mailing list