[llvm-commits] CVS: llvm-java/lib/Compiler/OperandStack.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Thu Oct 28 12:37:34 PDT 2004
Changes in directory llvm-java/lib/Compiler:
OperandStack.cpp updated: 1.1 -> 1.2
---
Log message:
i2c, i2b and i2s truncate the value and cast it back to an int before
pushing it on the operand stack.
---
Diffs of the changes: (+2 -2)
Index: llvm-java/lib/Compiler/OperandStack.cpp
diff -u llvm-java/lib/Compiler/OperandStack.cpp:1.1 llvm-java/lib/Compiler/OperandStack.cpp:1.2
--- llvm-java/lib/Compiler/OperandStack.cpp:1.1 Fri Oct 15 21:38:07 2004
+++ llvm-java/lib/Compiler/OperandStack.cpp Thu Oct 28 14:37:24 2004
@@ -25,12 +25,12 @@
NULL,
"opStack" + utostr(TheStack.size()),
insertAtEnd));
- new StoreInst(value, TheStack.top(), false, insertAtEnd);
+ new StoreInst(value, TheStack.top(), insertAtEnd);
}
llvm::Value* OperandStack::pop(BasicBlock* insertAtEnd)
{
Value* val = TheStack.top();
TheStack.pop();
- return new LoadInst(val, "pop", false, insertAtEnd);
+ return new LoadInst(val, "pop", insertAtEnd);
}
More information about the llvm-commits
mailing list