Fix the delegating constructors test to not rely on basic block names.

llvm-svn: 130813
This commit is contained in:
Alexis Hunt 2011-05-04 00:59:33 +00:00
parent 438dc7e1a7
commit f9b554bef9
1 changed files with 7 additions and 7 deletions

View File

@ -29,13 +29,13 @@ delegator::delegator(bool)
// CHECK: define void @_ZN9delegatorC1Ec
// CHECK: void @_ZN9delegatorC1Eb
// CHECK: void @__cxa_throw
// CHECK: lpad
// CHECK: void @_ZSt9terminatev
// CHECK: void @_ZN9delegatorD1Ev
// CHECK: define void @_ZN9delegatorC2Ec
// CHECK: void @_ZN9delegatorC2Eb
// CHECK: void @__cxa_throw
// CHECK: lpad
// CHECK: invoke void @_ZN9delegatorD2Ev
// CHECK: void @_ZSt9terminatev
// CHECK: void @_ZN9delegatorD2Ev
delegator::delegator(char)
: delegator(true) {
throw 0;
@ -43,14 +43,14 @@ delegator::delegator(char)
// CHECK: define void @_ZN9delegatorC1Ei
// CHECK: void @_ZN9delegatorC1Ev
// CHECK-NOT: lpad
// CHECK-NOT: void @_ZSt9terminatev
// CHECK: ret
// CHECK-NOT: lpad
// CHECK-NOT: void @_ZSt9terminatev
// CHECK: define void @_ZN9delegatorC2Ei
// CHECK: void @_ZN9delegatorC2Ev
// CHECK-NOT: lpad
// CHECK-NOT: void @_ZSt9terminatev
// CHECK: ret
// CHECK-NOT: lpad
// CHECK-NOT: void @_ZSt9terminatev
delegator::delegator(int)
: delegator()
{}