Fix the other jmp.il after #78501 (more for #78579) (#78656)
authorMark Plesko <markples@microsoft.com>
Tue, 22 Nov 2022 06:55:51 +0000 (22:55 -0800)
committerGitHub <noreply@github.com>
Tue, 22 Nov 2022 06:55:51 +0000 (22:55 -0800)
(same fix as #78582)

src/tests/JIT/jit64/opt/cg/il/jmp.il

index a96adab..8d8ad2f 100644 (file)
@@ -17,8 +17,9 @@
 .entrypoint
 .locals        ()
 .maxstack      2
-       jmp     int32 _jmp::jmpTest(class [mscorlib]System.String[])
        ldc.i4  0x0
+       newarr  [mscorlib]System.String
+       call    int32 _jmp::jmpTest1(class [mscorlib]System.String[])
        ret
 }
 
        ret
 }
 
-.method public static int32 jmpTest(class [mscorlib]System.String[]) {
+.method public static int32 jmpTest1(class [mscorlib]System.String[]) {
+.maxstack      4
+       jmp     int32 _jmp::jmpTest2(class [mscorlib]System.String[])
+       ldc.i4  0x0
+       ret
+}
+
+.method public static int32 jmpTest2(class [mscorlib]System.String[]) {
 .maxstack      4
        ldc.i4  100
        ret