-
-
Save niner/47eef9bdd295906820d1d5bf32c2dc0d 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..78e7504ee 100644 | |
--- a/src/jit/x64/emit.dasc | |
+++ b/src/jit/x64/emit.dasc | |
@@ -3170,15 +3170,19 @@ void MVM_jit_emit_dispatch(MVMThreadContext *tc, MVMJitCompiler *compiler, MVMJi | |
| lea ARG2, MVMDISPINLINECACHEENTRY:ARG2[dispatch->ice_slot]; | |
| mov ARG3, [ARG2] | |
| get_string ARG4, dispatch->id; | |
- | mov64 ARG5, callsite; | |
- | lea ARG6, [<5]; | |
|.if WIN32 | |
+ | mov64 TMP5, callsite; | |
+ | mov ARG5, TMP5; | |
+ | lea TMP5, [<5]; | |
+ | mov ARG6, TMP6; | |
| mov qword [rsp+6*8], WORK; | |
| mov qword [rsp+7*8], TMP6; | |
| mov TMP6, -1; | |
| mov qword [rsp+8*8], TMP6; | |
|.else | |
+ | mov64 ARG5, callsite; | |
+ | lea ARG6, [<5]; | |
| mov qword [rsp+0*8], WORK; | |
| mov qword [rsp+1*8], TMP6; | |
| mov TMP6, -1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment