mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 06:55:07 +00:00
Update invokeNative_em64.asm (#511)
Fix the issue of WIN64 parameter passing
This commit is contained in:
parent
a5188f5574
commit
5947ea492d
|
@ -37,7 +37,7 @@ no_abort:
|
|||
sub rsp, rdx
|
||||
|
||||
; store stack args
|
||||
lea r9, qword ptr [rax + rcx * 8 + 64]
|
||||
lea r9, qword ptr [rax + rcx * 8 + 56]
|
||||
sub r9, rsp ; offset
|
||||
cycle:
|
||||
push qword ptr [rsp + r9]
|
||||
|
@ -59,4 +59,4 @@ invokeNative ENDP
|
|||
|
||||
_TEXT ENDS
|
||||
|
||||
END
|
||||
END
|
||||
|
|
Loading…
Reference in New Issue
Block a user