diff options
author | Jim Grosbach <grosbach@apple.com> | 2009-05-13 23:50:53 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2009-05-13 23:50:53 +0000 |
commit | 4f915313edb04fc4544cb6cc5bcf10476a787707 (patch) | |
tree | c3efd33e9949439de649067ecb9dcfaed1c922be /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
parent | 43f21dde1e5eba460301710bb56e6d1dc8499e61 (diff) | |
download | bcm5719-llvm-4f915313edb04fc4544cb6cc5bcf10476a787707.tar.gz bcm5719-llvm-4f915313edb04fc4544cb6cc5bcf10476a787707.zip |
Removing the HasBuiltinSetjmp flag and associated bits. Flagging the presence
of exception handling builtin sjlj targets in functions turns out not to
be necessary. Marking the intrinsic implementation in the .td file as
defining all registers is sufficient to get the context saved properly by
the containing function.
llvm-svn: 71743
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index cecd529707c..b340d0c971b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -3849,12 +3849,6 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { case Intrinsic::longjmp: return "_longjmp"+!TLI.usesUnderscoreLongJmp(); break; - case Intrinsic::builtinsetjmp: - // Mark this function has using builtin_setjmp so context gets preserved - DAG.getMachineFunction().setHasBuiltinSetjmp(true); - // Turn it into a target intrinsic node for the codegen - visitTargetIntrinsic(I, Intrinsic); - return 0; case Intrinsic::memcpy: { SDValue Op1 = getValue(I.getOperand(1)); SDValue Op2 = getValue(I.getOperand(2)); |