[llvm-commits] CVS: llvm-java/lib/Compiler/VMMethod.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Tue Apr 19 00:26:58 PDT 2005
Changes in directory llvm-java/lib/Compiler:
VMMethod.cpp updated: 1.3 -> 1.4
---
Log message:
Add a FIXME.
---
Diffs of the changes: (+5 -0)
VMMethod.cpp | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm-java/lib/Compiler/VMMethod.cpp
diff -u llvm-java/lib/Compiler/VMMethod.cpp:1.3 llvm-java/lib/Compiler/VMMethod.cpp:1.4
--- llvm-java/lib/Compiler/VMMethod.cpp:1.3 Sat Apr 2 03:41:59 2005
+++ llvm-java/lib/Compiler/VMMethod.cpp Tue Apr 19 02:26:47 2005
@@ -29,6 +29,11 @@
parent_->getName() + '/' + methodName + methodDescriptor;
Resolver* resolver = parent_->getResolver();
+ // FIXME: This type should be taken from the owning class's constant
+ // pool (parsed only once per class). This means the
+ // Resolver::getType() should be moved in VMClass and its return
+ // value should be cached in the constant pool along with the
+ // others.
const FunctionType* functionType = cast<FunctionType>(
resolver->getType(methodDescriptor, !method_->isStatic()));
Module* module = resolver->getModule();
More information about the llvm-commits
mailing list