[llvm-commits] CVS: llvm-java/tools/class2llvm/class2llvm.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Wed Sep 29 14:02:18 PDT 2004



Changes in directory llvm-java/tools/class2llvm:

class2llvm.cpp updated: 1.16 -> 1.17
---
Log message:

Simplify interface.


---
Diffs of the changes:  (+1 -3)

Index: llvm-java/tools/class2llvm/class2llvm.cpp
diff -u llvm-java/tools/class2llvm/class2llvm.cpp:1.16 llvm-java/tools/class2llvm/class2llvm.cpp:1.17
--- llvm-java/tools/class2llvm/class2llvm.cpp:1.16	Wed Sep 29 11:15:06 2004
+++ llvm-java/tools/class2llvm/class2llvm.cpp	Wed Sep 29 16:02:08 2004
@@ -35,9 +35,7 @@
                               "classfile to llvm utility");
 
   try {
-    Java::Compiler compiler;
-
-    std::auto_ptr<Module> module = compiler.compile(InputClass);
+    std::auto_ptr<Module> module = Java::compile(InputClass);
 
     PassManager passes;
     passes.add(createVerifierPass());






More information about the llvm-commits mailing list