[llvm-commits] CVS: llvm-java/tools/class2llvm/class2llvm.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Thu Jul 8 12:43:08 PDT 2004
Changes in directory llvm-java/tools/class2llvm:
class2llvm.cpp updated: 1.8 -> 1.9
---
Log message:
Parameter is no longer an input filename but an input classname.
---
Diffs of the changes: (+3 -3)
Index: llvm-java/tools/class2llvm/class2llvm.cpp
diff -u llvm-java/tools/class2llvm/class2llvm.cpp:1.8 llvm-java/tools/class2llvm/class2llvm.cpp:1.9
--- llvm-java/tools/class2llvm/class2llvm.cpp:1.8 Tue Jul 6 08:31:34 2004
+++ llvm-java/tools/class2llvm/class2llvm.cpp Thu Jul 8 12:42:34 2004
@@ -25,7 +25,7 @@
using namespace llvm;
static cl::opt<std::string>
-InputFilename(cl::Positional, cl::desc("<input bytecode>"));
+InputClass(cl::Positional, cl::desc("<input class>"));
int main(int argc, char* argv[])
{
@@ -34,11 +34,11 @@
"classfile to llvm utility");
try {
- const Java::ClassFile* cf(Java::ClassFile::getClassFile(InputFilename));
+ const Java::ClassFile* cf(Java::ClassFile::getClassFile(InputClass));
Java::Compiler compiler;
- Module module(InputFilename);
+ Module module(InputClass);
compiler.compile(module, *cf);
PassManager passes;
More information about the llvm-commits
mailing list