[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LowerInvoke.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 15 16:25:01 PST 2004
Changes in directory llvm/lib/Transforms/Scalar:
LowerInvoke.cpp updated: 1.11 -> 1.12
---
Log message:
Instead of producing calls to setjmp/longjmp, produce uses of the
llvm.setjmp/llvm.longjmp intrinsics.
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/Transforms/Scalar/LowerInvoke.cpp
diff -u llvm/lib/Transforms/Scalar/LowerInvoke.cpp:1.11 llvm/lib/Transforms/Scalar/LowerInvoke.cpp:1.12
--- llvm/lib/Transforms/Scalar/LowerInvoke.cpp:1.11 Fri Feb 13 10:16:16 2004
+++ llvm/lib/Transforms/Scalar/LowerInvoke.cpp Sun Feb 15 16:24:27 2004
@@ -108,9 +108,9 @@
GlobalValue::LinkOnceLinkage,
Constant::getNullValue(PtrJBList),
"llvm.sjljeh.jblist", &M);
- SetJmpFn = M.getOrInsertFunction("setjmp", Type::IntTy,
+ SetJmpFn = M.getOrInsertFunction("llvm.setjmp", Type::IntTy,
PointerType::get(JmpBufTy), 0);
- LongJmpFn = M.getOrInsertFunction("longjmp", Type::VoidTy,
+ LongJmpFn = M.getOrInsertFunction("llvm.longjmp", Type::VoidTy,
PointerType::get(JmpBufTy),
Type::IntTy, 0);
More information about the llvm-commits
mailing list