[llvm-commits] CVS: llvm-java/lib/Compiler/Compiler.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sat Jul 24 13:49:04 PDT 2004
Changes in directory llvm-java/lib/Compiler:
Compiler.cpp updated: 1.63 -> 1.64
---
Log message:
Change main prototype to match Java's.
---
Diffs of the changes: (+1 -1)
Index: llvm-java/lib/Compiler/Compiler.cpp
diff -u llvm-java/lib/Compiler/Compiler.cpp:1.63 llvm-java/lib/Compiler/Compiler.cpp:1.64
--- llvm-java/lib/Compiler/Compiler.cpp:1.63 Sat Jul 24 15:42:13 2004
+++ llvm-java/lib/Compiler/Compiler.cpp Sat Jul 24 15:48:54 2004
@@ -813,7 +813,7 @@
className + "/main([Ljava/lang/String;)V");
Function* javaMain = m.getOrInsertFunction
("llvm_java_main", Type::IntTy,
- Type::IntTy, PointerType::get(PointerType::get(Type::SByteTy)), NULL);
+ Type::VoidTy, 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