[llvm-commits] CVS: llvm-java/lib/Compiler/Compiler.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Tue Dec 7 19:45:31 PST 2004
Changes in directory llvm-java/lib/Compiler:
Compiler.cpp updated: 1.171 -> 1.172
---
Log message:
Use getOperand() and remove getElementAt() function.
---
Diffs of the changes: (+1 -1)
Index: llvm-java/lib/Compiler/Compiler.cpp
diff -u llvm-java/lib/Compiler/Compiler.cpp:1.171 llvm-java/lib/Compiler/Compiler.cpp:1.172
--- llvm-java/lib/Compiler/Compiler.cpp:1.171 Tue Dec 7 03:04:16 2004
+++ llvm-java/lib/Compiler/Compiler.cpp Tue Dec 7 21:45:19 2004
@@ -621,7 +621,7 @@
"Interface method not found in class definition!");
unsigned classMethodIdx = classVI.m2iMap.find(i->first)->second;
init[i->second] = cast<ConstantStruct>(
- classVI.vtable->getInitializer())->getElementAt(classMethodIdx);
+ classVI.vtable->getInitializer())->getOperand(classMethodIdx);
}
llvm::Constant* vtable = ConstantStruct::get(init);
More information about the llvm-commits
mailing list