[llvm-commits] CVS: llvm-java/lib/Compiler/Compiler.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Fri Jan 21 19:28:23 PST 2005
Changes in directory llvm-java/lib/Compiler:
Compiler.cpp updated: 1.187 -> 1.188
---
Log message:
Fix bug in ifnonnull codegen.
---
Diffs of the changes: (+1 -1)
Compiler.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm-java/lib/Compiler/Compiler.cpp
diff -u llvm-java/lib/Compiler/Compiler.cpp:1.187 llvm-java/lib/Compiler/Compiler.cpp:1.188
--- llvm-java/lib/Compiler/Compiler.cpp:1.187 Fri Jan 21 19:30:12 2005
+++ llvm-java/lib/Compiler/Compiler.cpp Fri Jan 21 21:28:12 2005
@@ -1823,7 +1823,7 @@
}
void do_ifnonnull(unsigned t, unsigned f) {
do_aconst_null();
- do_if_common(Instruction::SetEQ, ObjectBaseRefTy, t, f);
+ do_if_common(Instruction::SetNE, ObjectBaseRefTy, t, f);
}
void do_if_common(Instruction::BinaryOps cc, const Type* type,
More information about the llvm-commits
mailing list