[llvm-commits] CVS: llvm-java/lib/Compiler/Locals.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Thu Oct 28 12:38:44 PDT 2004
Changes in directory llvm-java/lib/Compiler:
Locals.cpp updated: 1.1 -> 1.2
---
Log message:
Use the shorter version of LoadInst and StoreInst constructors.
---
Diffs of the changes: (+2 -2)
Index: llvm-java/lib/Compiler/Locals.cpp
diff -u llvm-java/lib/Compiler/Locals.cpp:1.1 llvm-java/lib/Compiler/Locals.cpp:1.2
--- llvm-java/lib/Compiler/Locals.cpp:1.1 Fri Oct 15 21:38:07 2004
+++ llvm-java/lib/Compiler/Locals.cpp Thu Oct 28 14:38:34 2004
@@ -34,11 +34,11 @@
"local" + utostr(i),
insertAtEnd);
- new StoreInst(value, TheLocals[i], false, insertAtEnd);
+ new StoreInst(value, TheLocals[i], insertAtEnd);
}
llvm::Value* Locals::load(unsigned i, BasicBlock* insertAtEnd)
{
assert(TheLocals[i] && "Attempt to load a non initialized global!");
- return new LoadInst(TheLocals[i], "load", false, insertAtEnd);
+ return new LoadInst(TheLocals[i], "load", insertAtEnd);
}
More information about the llvm-commits
mailing list