diff options
author | John McCall <rjmccall@apple.com> | 2010-07-13 21:17:51 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-07-13 21:17:51 +0000 |
commit | bb0260139a92ccd7439e290ab795a2e94f84921b (patch) | |
tree | 22688238fdf9a95720c3ae21890d6d9986fbdf4f /clang/test/CodeGenCXX/eh.cpp | |
parent | a3f1901531bc618afd4918bca3fe6dc62f61d462 (diff) | |
download | bcm5719-llvm-bb0260139a92ccd7439e290ab795a2e94f84921b.tar.gz bcm5719-llvm-bb0260139a92ccd7439e290ab795a2e94f84921b.zip |
Switch the __cxa_free_exception cleanup to be lazy.
llvm-svn: 108276
Diffstat (limited to 'clang/test/CodeGenCXX/eh.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/eh.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/eh.cpp b/clang/test/CodeGenCXX/eh.cpp index d03dc917153..f8d7ef69e00 100644 --- a/clang/test/CodeGenCXX/eh.cpp +++ b/clang/test/CodeGenCXX/eh.cpp @@ -136,9 +136,6 @@ namespace test7 { // CHECK-NEXT: invoke void @__cxa_throw(i8* [[EXNALLOC]], i8* bitcast (i8** @_ZTIi to i8*), i8* null throw 1; } -// This cleanup ends up here for no good reason. It's actually unused. -// CHECK: load i8** [[EXNALLOCVAR]] -// CHECK-NEXT: call void @__cxa_free_exception( // CHECK: [[CAUGHTEXN:%.*]] = call i8* @llvm.eh.exception() // CHECK-NEXT: store i8* [[CAUGHTEXN]], i8** [[CAUGHTEXNVAR]] |