Skip to content

Commit 004aa94

Browse files
committed
[clr-interp] add support for jmp instruction
1 parent 4cb52e7 commit 004aa94

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/coreclr/interpreter/compiler.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6234,6 +6234,12 @@ void InterpCompiler::GenerateCode(CORINFO_METHOD_INFO* methodInfo)
62346234
EmitUnaryArithmeticOp(INTOP_NOT_I4);
62356235
m_ip++;
62366236
break;
6237+
case CEE_JMP:
6238+
EmitCall(NULL /*pConstrainedToken*/, false /* readonly*/, true /* tailcall*/, false /*newObj*/, false /*isCalli*/);
6239+
pConstrainedToken = NULL;
6240+
readonly = false;
6241+
tailcall = false;
6242+
break;
62376243
case CEE_CALLVIRT:
62386244
case CEE_CALL:
62396245
EmitCall(pConstrainedToken, readonly, tailcall, false /*newObj*/, false /*isCalli*/);

0 commit comments

Comments
 (0)