Skip to content

Commit d6b024a

Browse files
committed
Update test to match recent development
Signed-off-by: Peter Rong <[email protected]>
1 parent fb6ffc2 commit d6b024a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/test/CodeGenObjC/direct-method-nil-check-thunk.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,7 @@ - (void)accessCmd __attribute__((objc_direct)) {
208208
// CHECK-NEXT: [[SELFADDR:%.*]] = alloca ptr,
209209
// CHECK-NEXT: store ptr %{{.*}}, ptr [[SELFADDR]],
210210
// CHECK-NEXT: [[SELFVAL:%.*]] = load {{.*}} [[SELFADDR]],
211-
// CHECK-NEXT: [[IVAR:%.*]] = load {{.*}} @"OBJC_IVAR_$_Root._objectProperty",
212-
// CHECK-NEXT: [[CALL:%.*]] = tail call ptr @objc_getProperty(ptr noundef [[SELF]], ptr noundef poison, i64 noundef [[IVAR]], {{.*}})
211+
// CHECK-NEXT: [[CALL:%.*]] = tail call ptr @objc_getProperty(ptr noundef [[SELF]], ptr noundef poison, i64 noundef 8, {{.*}})
213212

214213
// CHECK-LABEL: define hidden ptr @"\01-[Root objectProperty]"(ptr noundef %{{.*}})
215214
// CHECK-LABEL: entry:

0 commit comments

Comments
 (0)