未验证 提交 3f306704 编写于 作者: E Egor Bogatov 提交者: GitHub

Remove ObjRefInitBlk test due to gc hole (#91906)

上级 55947019
......@@ -217,32 +217,6 @@ FAIL:
ret
}
// Non-zero initialization of a GC reference is not exactly a valid scenario.
// Still, the JIT shouldn't end up generating invalid IR (non-zero GC typed
// constant nodes).
.class sequential sealed Pair extends [System.Runtime]System.ValueType
{
.field public int64 Key
.field public class [System.Runtime]System.Object Value
}
.method static bool ObjRefInitBlk() cil managed noinlining
{
.locals init (valuetype Pair a)
ldloca a
ldc.i4 1
sizeof Pair
initblk
ldloca a
ldind.i8
ldc.i8 0x0101010101010101
ceq
ret
}
// Non-zero SIMD constants are not supported so field by field initialization
// should not be attempted.
......@@ -310,9 +284,6 @@ FAIL:
call bool Float32NaNInitBlk()
brfalse FAIL
call bool ObjRefInitBlk()
brfalse FAIL
call bool SimdInitBlk()
brfalse FAIL
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册