Skip to content

Commit 5448707

Browse files
author
Alexis Beingessner
committed
fix reflections tests
1 parent daff309 commit 5448707

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

validation-test/Reflection/reflect_Array.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ reflect(object: obj)
2525
// CHECK-64: Type info:
2626
// CHECK-64: (class_instance size=24 alignment=8 stride=24 num_extra_inhabitants=0
2727
// CHECK-64: (field name=t offset=16
28-
// CHECK-64: (struct size=8 alignment=8 stride=8 num_extra_inhabitants=1
28+
// CHECK-64: (struct size=8 alignment=8 stride=8 num_extra_inhabitants=2147483647
2929
// (unstable implementation details omitted)
3030

3131
// CHECK-32: Reflecting an object.
@@ -36,7 +36,7 @@ reflect(object: obj)
3636
// CHECK-32: Type info:
3737
// CHECK-32: (class_instance size=16 alignment=4 stride=16 num_extra_inhabitants=0
3838
// CHECK-32: (field name=t offset=12
39-
// CHECK-32: (struct size=4 alignment=4 stride=4 num_extra_inhabitants=1
39+
// CHECK-32: (struct size=4 alignment=4 stride=4 num_extra_inhabitants=2147483647
4040
// (unstable implementation details omitted)
4141

4242
doneReflecting()

validation-test/Reflection/reflect_multiple_types.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ reflect(object: obj)
117117
// CHECK-64: Type info:
118118
// CHECK-64: (class_instance size=209 alignment=8 stride=216 num_extra_inhabitants=0
119119
// CHECK-64: (field name=t00 offset=16
120-
// CHECK-64: (struct size=8 alignment=8 stride=8 num_extra_inhabitants=1
120+
// CHECK-64: (struct size=8 alignment=8 stride=8 num_extra_inhabitants=2147483647
121121
// (unstable implementation details omitted)
122122
// CHECK-64: (field name=t01 offset=24
123123
// CHECK-64: (struct size=1 alignment=1 stride=1 num_extra_inhabitants=254
@@ -209,7 +209,7 @@ reflect(object: obj)
209209
// CHECK-32: Type info:
210210
// CHECK-32: (class_instance size=137 alignment=8 stride=144 num_extra_inhabitants=0
211211
// CHECK-32: (field name=t00 offset=12
212-
// CHECK-32: (struct size=4 alignment=4 stride=4 num_extra_inhabitants=1
212+
// CHECK-32: (struct size=4 alignment=4 stride=4 num_extra_inhabitants=2147483647
213213
// (unstable implementation details omitted)
214214
// CHECK-32: (field name=t01 offset=16
215215
// CHECK-32: (struct size=1 alignment=1 stride=1 num_extra_inhabitants=254

0 commit comments

Comments
 (0)