summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-12-15 00:35:12 +0000
committerMike Stump <mrs@apple.com>2009-12-15 00:35:12 +0000
commite8c3b3eca48f600a3f1a6b6a4d8eb58ef87205d7 (patch)
tree28579464a4578f6425a60456028b09b848323b65 /clang/lib/CodeGen/CodeGenFunction.cpp
parent1668046db1a08a2ea3db6b7b0156cf39c6883b26 (diff)
downloadbcm5719-llvm-e8c3b3eca48f600a3f1a6b6a4d8eb58ef87205d7.tar.gz
bcm5719-llvm-e8c3b3eca48f600a3f1a6b6a4d8eb58ef87205d7.zip
Switch codegen for -fcatch-undefined-bahavior over to __builtin_trap
instead of abort to improve codesize and codegen. llvm-svn: 91374
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index c3bae0768c3..28df9e4d786 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -31,7 +31,7 @@ CodeGenFunction::CodeGenFunction(CodeGenModule &cgm)
DebugInfo(0), IndirectBranch(0),
SwitchInsn(0), CaseRangeBlock(0), InvokeDest(0),
CXXThisDecl(0), CXXVTTDecl(0),
- ConditionalBranchLevel(0), TerminateHandler(0), AbortBB(0),
+ ConditionalBranchLevel(0), TerminateHandler(0), TrapBB(0),
UniqueAggrDestructorCount(0) {
LLVMIntTy = ConvertType(getContext().IntTy);
LLVMPointerWidth = Target.getPointerWidth(0);
OpenPOWER on IntegriCloud