diff options
author | Mike Stump <mrs@apple.com> | 2009-12-10 00:02:42 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-12-10 00:02:42 +0000 |
commit | f5cbb08c4b7646eb0ef92950ef0be75f26ac7522 (patch) | |
tree | c743b5f1f66fad94153b2f2209d6afcecdee7d71 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 3b60f034f9f850ad2e92fd966f6dda419c91b3b8 (diff) | |
download | bcm5719-llvm-f5cbb08c4b7646eb0ef92950ef0be75f26ac7522.tar.gz bcm5719-llvm-f5cbb08c4b7646eb0ef92950ef0be75f26ac7522.zip |
Ensure we only generate one terminate handler.
llvm-svn: 90998
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index adfd75b42a7..18442bb1590 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) { + ConditionalBranchLevel(0), TerminateHandler(0) { LLVMIntTy = ConvertType(getContext().IntTy); LLVMPointerWidth = Target.getPointerWidth(0); Exceptions = getContext().getLangOptions().Exceptions; |