diff options
author | John McCall <rjmccall@apple.com> | 2011-05-27 20:01:14 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-05-27 20:01:14 +0000 |
commit | 0903421e36c174a82597f83bd296f3cd5b5f169b (patch) | |
tree | a39425c04659ed5fa2de07f8633473f4e632ee66 /test/CodeGenCXX/nrvo.cpp | |
parent | f996e051d9953550982b57132daad8a5e3f7bd65 (diff) |
Implement a new, much improved version of the cleanup hack. We just need
to be careful to emit landing pads that are always prepared to handle a
cleanup path. This is correct mostly because of the fix to the LLVM
inliner, r132200.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132209 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/nrvo.cpp')
-rw-r--r-- | test/CodeGenCXX/nrvo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/nrvo.cpp b/test/CodeGenCXX/nrvo.cpp index ad6fa4f744..3104f937f1 100644 --- a/test/CodeGenCXX/nrvo.cpp +++ b/test/CodeGenCXX/nrvo.cpp @@ -95,7 +95,7 @@ X test2(bool B) { // %invoke.cont17: rethrow block for %eh.cleanup. // This really should be elsewhere in the function. - // CHECK-EH: call void @_Unwind_Resume_or_Rethrow + // CHECK-EH: call void @_Unwind_Resume( // CHECK-EH-NEXT: unreachable // %terminate.lpad: terminate landing pad. |