-
-
Save niner/08f62474f3a28dd7d9a4cecc6f8acfc6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/jit/x64/emit.dasc b/src/jit/x64/emit.dasc | |
index 6ddfa9ed4..67a7b8ebb 100644 | |
--- a/src/jit/x64/emit.dasc | |
+++ b/src/jit/x64/emit.dasc | |
@@ -3068,13 +3068,13 @@ void MVM_jit_emit_runbytecode(MVMThreadContext *tc, MVMJitCompiler *compiler, MV | |
|.else | |
| mov ARG3, runcode->spesh_cand | |
|.endif | |
- | mov64 TMP6, callsite; | |
- emit_stack_arg(tc, compiler, jg, 8, 0); | |
+ | lea TMP6, [<5]; | |
+ emit_stack_arg(tc, compiler, jg, 8, 16); | |
| mov TMP6, TC->interp_reg_base; | |
| mov TMP6, [TMP6]; | |
emit_stack_arg(tc, compiler, jg, 8, 8); | |
- | lea TMP6, [<5]; | |
- emit_stack_arg(tc, compiler, jg, 8, 16); | |
+ | mov64 TMP6, callsite; | |
+ emit_stack_arg(tc, compiler, jg, 8, 0); | |
|.if WIN32 | |
/* Pass a pointer to the stack allocated struct as ordinary argument */ | |
| mov ARG3, rsp; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment