[llvm-commits] CVS: llvm/lib/Bytecode/Reader/ReaderWrappers.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Sun Jun 19 07:05:07 PDT 2005
Changes in directory llvm/lib/Bytecode/Reader:
ReaderWrappers.cpp updated: 1.48 -> 1.49
---
Log message:
va_end fix
---
Diffs of the changes: (+1 -0)
ReaderWrappers.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/Bytecode/Reader/ReaderWrappers.cpp
diff -u llvm/lib/Bytecode/Reader/ReaderWrappers.cpp:1.48 llvm/lib/Bytecode/Reader/ReaderWrappers.cpp:1.49
--- llvm/lib/Bytecode/Reader/ReaderWrappers.cpp:1.48 Sat Jun 18 13:34:51 2005
+++ llvm/lib/Bytecode/Reader/ReaderWrappers.cpp Sun Jun 19 09:04:55 2005
@@ -209,6 +209,7 @@
for(Value::use_iterator I = F->use_begin(), E = F->use_end(); I != E;)
if (CallInst* CI = dyn_cast<CallInst>(*I++)) {
AllocaInst* bar = new AllocaInst(ArgTy, 0, "vaend.fix.1", CI);
+ new StoreInst(CI->getOperand(1), bar, CI);
new CallInst(NF, bar, "", CI);
CI->getParent()->getInstList().erase(CI);
}
More information about the llvm-commits
mailing list