Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rw args of JITed calls to JITed native calls
getarg_* are used to read (possibly modified) values back from the args buffer. This is currently done only for native calls (after a nativeinvoke). However the JIT does not emit any code for the corresponding arg_* ops for a nativeinvoke. Instead the values are read directly from the WORK registers and the arg_* ops are only used to mark those registers. This means that there's nothing in the args buffer to read from. So instead, turn the getarg_* ops into plain set ops and take the value from the original WORK register.
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
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
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