]> granicus.if.org Git - clang/commitdiff
Fix test for no-asserts builds.
authorJohn McCall <rjmccall@apple.com>
Fri, 17 Sep 2010 17:03:41 +0000 (17:03 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 17 Sep 2010 17:03:41 +0000 (17:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114185 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/constructor-init.cpp

index d610fd5ad8664c37b2ffafd7ad65cd6222d268da..4e6d255b9b0e60f516e15141e7b5f35af4f9f1f4 100644 (file)
@@ -98,7 +98,7 @@ namespace InitVTable {
   // CHECK-NEXT: [[FNP:%.*]] = getelementptr inbounds i32 ([[B]]*)** [[VTBL]], i64 0
   // CHECK-NEXT: [[FN:%.*]] = load i32 ([[B]]*)** [[FNP]]
   // CHECK-NEXT: [[ARG:%.*]] = call i32 [[FN]]([[B]]* [[THIS]])
-  // CHECK-NEXT: call void @_ZN10InitVTable1AC2Ei({{.*}}* %1, i32 [[ARG]])
+  // CHECK-NEXT: call void @_ZN10InitVTable1AC2Ei({{.*}}* {{%.*}}, i32 [[ARG]])
   // CHECK-NEXT: [[T0:%.*]] = bitcast [[B]]* [[THIS]] to i8***
   // CHECK-NEXT: store i8** getelementptr inbounds ([3 x i8*]* @_ZTVN10InitVTable1BE, i64 0, i64 2), i8*** [[T0]]
   // CHECK-NEXT: ret void