Skip to content

Commit a90a6d8

Browse files
committed
Fix test case for 32bit
1 parent 1bf1aad commit a90a6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/objc_generic_class_metadata.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ sil @$useMeta : $@convention(thin) <P> () -> ()
102102
// CHECK: [[C:%.*]] = bitcast i8* %0 to %objc_class*
103103
// CHECK: [[M:%.*]] = call %swift.type* @swift_getObjCClassMetadata(%objc_class* [[C]])
104104
// CHECK: [[M2:%.*]] = bitcast %swift.type* [[M]] to %swift.type**
105-
// CHECK: [[P:%.*]] = getelementptr inbounds %swift.type*, %swift.type** [[M2]], i64 10
105+
// CHECK: [[P:%.*]] = getelementptr inbounds %swift.type*, %swift.type** [[M2]]
106106
// CHECK: [[P2:%.*]] = load %swift.type*, %swift.type** [[P]]
107107
// CHECK: call swiftcc void @"$useMeta"(%swift.type* [[P2]])
108108
// CHECK: ret void

0 commit comments

Comments
 (0)