mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-06-02 01:41:08 +00:00
- move VM creation into the jitted function. this will allow the jit compiler to skip vm frame creation when possible
This commit is contained in:
parent
e930dfaae7
commit
b7c0cd5d05
6 changed files with 77 additions and 30 deletions
|
@ -39,6 +39,7 @@ private:
|
|||
|
||||
void Setup();
|
||||
void EmitOpcode();
|
||||
void EmitPopFrame();
|
||||
|
||||
void EmitDoCall(asmjit::X86Gp ptr);
|
||||
void EmitDoTail(asmjit::X86Gp ptr);
|
||||
|
@ -141,10 +142,12 @@ private:
|
|||
asmjit::X86Compiler cc;
|
||||
VMScriptFunction *sfunc;
|
||||
|
||||
asmjit::X86Gp stack;
|
||||
asmjit::X86Gp args;
|
||||
asmjit::X86Gp numargs;
|
||||
asmjit::X86Gp ret;
|
||||
asmjit::X86Gp numret;
|
||||
asmjit::X86Gp exceptInfo;
|
||||
asmjit::X86Gp stack;
|
||||
|
||||
int offsetExtra;
|
||||
asmjit::X86Gp vmframe;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue