[llvm-commits] CVS: llvm-java/tools/class2llvm/class2llvm.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Thu Jul 8 19:07:06 PDT 2004
Changes in directory llvm-java/tools/class2llvm:
class2llvm.cpp updated: 1.9 -> 1.10
---
Log message:
Change Compiler interface so that only the classname of the class with
the main() method is required.
---
Diffs of the changes: (+1 -3)
Index: llvm-java/tools/class2llvm/class2llvm.cpp
diff -u llvm-java/tools/class2llvm/class2llvm.cpp:1.9 llvm-java/tools/class2llvm/class2llvm.cpp:1.10
--- llvm-java/tools/class2llvm/class2llvm.cpp:1.9 Thu Jul 8 12:42:34 2004
+++ llvm-java/tools/class2llvm/class2llvm.cpp Thu Jul 8 19:06:30 2004
@@ -34,12 +34,10 @@
"classfile to llvm utility");
try {
- const Java::ClassFile* cf(Java::ClassFile::getClassFile(InputClass));
-
Java::Compiler compiler;
Module module(InputClass);
- compiler.compile(module, *cf);
+ compiler.compile(module, InputClass);
PassManager passes;
passes.add(new PrintModulePass(&std::cout));
More information about the llvm-commits
mailing list