Skip to content

Commit 3f30670

Browse files
authored
Remove ObjRefInitBlk test due to gc hole (#91906)
1 parent 5594701 commit 3f30670

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

src/tests/JIT/Regression/JitBlue/GitHub_21761/GitHub_21761.il

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -217,32 +217,6 @@ FAIL:
217217
ret
218218
}
219219

220-
// Non-zero initialization of a GC reference is not exactly a valid scenario.
221-
// Still, the JIT shouldn't end up generating invalid IR (non-zero GC typed
222-
// constant nodes).
223-
224-
.class sequential sealed Pair extends [System.Runtime]System.ValueType
225-
{
226-
.field public int64 Key
227-
.field public class [System.Runtime]System.Object Value
228-
}
229-
230-
.method static bool ObjRefInitBlk() cil managed noinlining
231-
{
232-
.locals init (valuetype Pair a)
233-
234-
ldloca a
235-
ldc.i4 1
236-
sizeof Pair
237-
initblk
238-
239-
ldloca a
240-
ldind.i8
241-
ldc.i8 0x0101010101010101
242-
ceq
243-
ret
244-
}
245-
246220
// Non-zero SIMD constants are not supported so field by field initialization
247221
// should not be attempted.
248222

@@ -310,9 +284,6 @@ FAIL:
310284
call bool Float32NaNInitBlk()
311285
brfalse FAIL
312286

313-
call bool ObjRefInitBlk()
314-
brfalse FAIL
315-
316287
call bool SimdInitBlk()
317288
brfalse FAIL
318289

0 commit comments

Comments
 (0)