summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/eh.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-07-13 21:17:51 +0000
committerJohn McCall <rjmccall@apple.com>2010-07-13 21:17:51 +0000
commitbb0260139a92ccd7439e290ab795a2e94f84921b (patch)
tree22688238fdf9a95720c3ae21890d6d9986fbdf4f /clang/test/CodeGenCXX/eh.cpp
parenta3f1901531bc618afd4918bca3fe6dc62f61d462 (diff)
downloadbcm5719-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.cpp3
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]]
OpenPOWER on IntegriCloud