[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y

Andrew Lenharth alenhar2 at cs.uiuc.edu
Sun Jun 19 07:05:07 PDT 2005



Changes in directory llvm/lib/AsmParser:

llvmAsmParser.y updated: 1.227 -> 1.228
---
Log message:

va_end fix

---
Diffs of the changes:  (+1 -0)

 llvmAsmParser.y |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.227 llvm/lib/AsmParser/llvmAsmParser.y:1.228
--- llvm/lib/AsmParser/llvmAsmParser.y:1.227	Sat Jun 18 22:53:56 2005
+++ llvm/lib/AsmParser/llvmAsmParser.y	Sun Jun 19 09:04:55 2005
@@ -785,6 +785,7 @@
       while (!F->use_empty()) {
         CallInst* CI = cast<CallInst>(F->use_back());
         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