[llvm-commits] CVS: llvm-java/test/Compiler/Arithm.java
Alkis Evlogimenos
alkis at cs.uiuc.edu
Wed May 26 20:15:01 PDT 2004
Changes in directory llvm-java/test/Compiler:
Arithm.java updated: 1.1 -> 1.2
---
Log message:
Add code to generate the INEG bytecode.
---
Diffs of the changes: (+1 -1)
Index: llvm-java/test/Compiler/Arithm.java
diff -u llvm-java/test/Compiler/Arithm.java:1.1 llvm-java/test/Compiler/Arithm.java:1.2
--- llvm-java/test/Compiler/Arithm.java:1.1 Tue May 25 16:46:18 2004
+++ llvm-java/test/Compiler/Arithm.java Wed May 26 20:12:17 2004
@@ -6,6 +6,6 @@
int one = 1;
int two = 2;
- return (one + two) - (two * two) + (two / one) + (two % one) + (two << one) - (two >> 1); // = 4
+ return (one + two) - (two * two) + (two / one) + (two % one) + (two << one) - (two >> 1) + (-two); // = 2
}
}
More information about the llvm-commits
mailing list