clang/test/CodeGenCXX: Fix two tests, destructors.cpp and microsoft-abi-array-cookies.cpp, for -Asserts.

llvm-svn: 155913
This commit is contained in:
NAKAMURA Takumi 2012-05-01 11:13:04 +00:00
parent 8fc810c2ef
commit 4ad81df818
2 changed files with 2 additions and 2 deletions

View File

@ -362,7 +362,7 @@ namespace test9 {
f1<int>(); f1<int>();
f2(); f2();
} }
// CHECK: call void @_ZN5test97ArgTypeD1Ev(%"struct.test9::ArgType"* %ref.tmp) // CHECK: call void @_ZN5test97ArgTypeD1Ev(%"struct.test9::ArgType"* %
// CHECK: call void @_ZN5test92f2Ev() // CHECK: call void @_ZN5test92f2Ev()
} }

View File

@ -54,6 +54,6 @@ void check_array_cookies_aligned() {
// CHECK: bitcast i8* [[ARRAY]] to [[CLASS:%.*]]* // CHECK: bitcast i8* [[ARRAY]] to [[CLASS:%.*]]*
delete [] array; delete [] array;
// CHECK: [[ARRAY_AS_CHAR:%.*]] = bitcast [[CLASS]]* %3 to i8* // CHECK: [[ARRAY_AS_CHAR:%.*]] = bitcast [[CLASS]]*
// CHECK: getelementptr inbounds i8* [[ARRAY_AS_CHAR]], i64 -8 // CHECK: getelementptr inbounds i8* [[ARRAY_AS_CHAR]], i64 -8
} }