[llvm-commits] CVS: llvm/lib/CWriter/Writer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Jun 28 14:30:02 PDT 2003
Changes in directory llvm/lib/CWriter:
Writer.cpp updated: 1.103 -> 1.104
---
Log message:
jmp_buf is really a pointer type that is passed around...
---
Diffs of the changes:
Index: llvm/lib/CWriter/Writer.cpp
diff -u llvm/lib/CWriter/Writer.cpp:1.103 llvm/lib/CWriter/Writer.cpp:1.104
--- llvm/lib/CWriter/Writer.cpp:1.103 Sat Jun 28 12:53:05 2003
+++ llvm/lib/CWriter/Writer.cpp Sat Jun 28 14:29:34 2003
@@ -1178,12 +1178,12 @@
return;
case LLVMIntrinsic::setjmp:
- Out << "setjmp((jmp_buf)";
+ Out << "setjmp(*(jmp_buf*)";
writeOperand(I.getOperand(1));
Out << ")";
return;
case LLVMIntrinsic::longjmp:
- Out << "longjmp((jmp_buf)";
+ Out << "longjmp(*(jmp_buf*)";
writeOperand(I.getOperand(1));
Out << ", ";
writeOperand(I.getOperand(2));
More information about the llvm-commits
mailing list