[llvm-commits] CVS: llvm-java/lib/Compiler/Compiler.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sat Dec 11 23:21:26 PST 2004
Changes in directory llvm-java/lib/Compiler:
Compiler.cpp updated: 1.179 -> 1.180
---
Log message:
Don't commit debugging code :-)
---
Diffs of the changes: (+2 -1)
Index: llvm-java/lib/Compiler/Compiler.cpp
diff -u llvm-java/lib/Compiler/Compiler.cpp:1.179 llvm-java/lib/Compiler/Compiler.cpp:1.180
--- llvm-java/lib/Compiler/Compiler.cpp:1.179 Sun Dec 12 01:19:34 2004
+++ llvm-java/lib/Compiler/Compiler.cpp Sun Dec 12 01:21:15 2004
@@ -255,6 +255,7 @@
case 'S': return Type::ShortTy;
case 'Z': return Type::BoolTy;
case 'V': return Type::VoidTy;
+ // Both array and object types are pointers to llvm_object_base
case 'L': {
unsigned e = descr.find(';', i);
std::string className = descr.substr(i, e - i);
@@ -1212,7 +1213,7 @@
<< classMethodDesc << '\n');
FunctionType* jniFuncTy =
cast<FunctionType>(getJNIType(method->getDescriptor()));
- std::cerr << "JNI funtype: " << *jniFuncTy << '\n';
+
std::string funcName =
"Java_" +
getMangledString(cf_->getThisClass()->getName()->str()) + '_' +
More information about the llvm-commits
mailing list