[llvm-commits] CVS: llvm-java/lib/Compiler/VMClass.h VMClass.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Wed Mar 30 19:19:39 PST 2005
Changes in directory llvm-java/lib/Compiler:
VMClass.h updated: 1.22 -> 1.23
VMClass.cpp updated: 1.26 -> 1.27
---
Log message:
Remove dead function.
---
Diffs of the changes: (+0 -6)
VMClass.cpp | 5 -----
VMClass.h | 1 -
2 files changed, 6 deletions(-)
Index: llvm-java/lib/Compiler/VMClass.h
diff -u llvm-java/lib/Compiler/VMClass.h:1.22 llvm-java/lib/Compiler/VMClass.h:1.23
--- llvm-java/lib/Compiler/VMClass.h:1.22 Tue Mar 29 11:37:08 2005
+++ llvm-java/lib/Compiler/VMClass.h Wed Mar 30 21:19:27 2005
@@ -86,7 +86,6 @@
bool isPrimitive() const { return getType() == getLayoutType(); }
bool isInterface() const { return classFile_ && classFile_->isInterface(); }
unsigned getInterfaceIndex() const { return interfaceIndex_; }
- int getFieldIndex(const std::string& name) const;
llvm::Constant* getConstant(unsigned index) const;
const VMClass* getClass(unsigned index) const;
Index: llvm-java/lib/Compiler/VMClass.cpp
diff -u llvm-java/lib/Compiler/VMClass.cpp:1.26 llvm-java/lib/Compiler/VMClass.cpp:1.27
--- llvm-java/lib/Compiler/VMClass.cpp:1.26 Wed Mar 30 21:15:08 2005
+++ llvm-java/lib/Compiler/VMClass.cpp Wed Mar 30 21:19:27 2005
@@ -93,11 +93,6 @@
return NULL;
}
-int VMClass::getFieldIndex(const std::string& name) const {
- FieldMap::const_iterator it = fieldMap_.find(name);
- return it == fieldMap_.end() ? -1 : it->second.getMemberIndex();
-}
-
void VMClass::computeLayout() {
std::vector<const Type*> layout;
if (isArray()) {
More information about the llvm-commits
mailing list