[llvm-commits] CVS: llvm-java/lib/Compiler/Compiler.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sat Jul 24 15:37:54 PDT 2004
Changes in directory llvm-java/lib/Compiler:
Compiler.cpp updated: 1.65 -> 1.66
---
Log message:
Correct arguments for llvm_java_main().
---
Diffs of the changes: (+2 -2)
Index: llvm-java/lib/Compiler/Compiler.cpp
diff -u llvm-java/lib/Compiler/Compiler.cpp:1.65 llvm-java/lib/Compiler/Compiler.cpp:1.66
--- llvm-java/lib/Compiler/Compiler.cpp:1.65 Sat Jul 24 16:04:59 2004
+++ llvm-java/lib/Compiler/Compiler.cpp Sat Jul 24 17:37:44 2004
@@ -811,8 +811,8 @@
compilerImpl_->compileMethod(m,
className + "/main([Ljava/lang/String;)V");
Function* javaMain = m.getOrInsertFunction
- ("llvm_java_main", Type::IntTy,
- Type::VoidTy, PointerType::get(PointerType::get(Type::SByteTy)), NULL);
+ ("llvm_java_main", Type::VoidTy,
+ Type::IntTy, PointerType::get(PointerType::get(Type::SByteTy)), NULL);
BasicBlock* bb = new BasicBlock("entry", javaMain);
const FunctionType* mainTy = main->getFunctionType();
More information about the llvm-commits
mailing list