mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- add more names to asmjit objects
This commit is contained in:
parent
7ca598de2d
commit
300553a21f
1 changed files with 3 additions and 3 deletions
|
@ -221,7 +221,7 @@ void JitCompiler::Setup()
|
||||||
cc.setArg(3, ret);
|
cc.setArg(3, ret);
|
||||||
cc.setArg(4, numret);
|
cc.setArg(4, numret);
|
||||||
|
|
||||||
auto stackalloc = cc.newStack(sizeof(VMReturn) * MAX_RETURNS, alignof(VMReturn));
|
auto stackalloc = cc.newStack(sizeof(VMReturn) * MAX_RETURNS, alignof(VMReturn), "stackalloc");
|
||||||
callReturns = cc.newIntPtr("callReturns");
|
callReturns = cc.newIntPtr("callReturns");
|
||||||
cc.lea(callReturns, stackalloc);
|
cc.lea(callReturns, stackalloc);
|
||||||
|
|
||||||
|
@ -283,7 +283,7 @@ void JitCompiler::Setup()
|
||||||
{
|
{
|
||||||
// This is a simple frame with no constructors or destructors. Allocate it on the stack ourselves.
|
// This is a simple frame with no constructors or destructors. Allocate it on the stack ourselves.
|
||||||
|
|
||||||
auto vmstack = cc.newStack(sfunc->StackSize, 16);
|
auto vmstack = cc.newStack(sfunc->StackSize, 16, "vmstack");
|
||||||
cc.lea(vmframe, vmstack);
|
cc.lea(vmframe, vmstack);
|
||||||
|
|
||||||
auto slowinit = cc.newLabel();
|
auto slowinit = cc.newLabel();
|
||||||
|
@ -335,7 +335,7 @@ void JitCompiler::Setup()
|
||||||
#endif
|
#endif
|
||||||
cc.bind(slowinit);
|
cc.bind(slowinit);
|
||||||
|
|
||||||
auto sfuncptr = cc.newIntPtr();
|
auto sfuncptr = newTempIntPtr();
|
||||||
cc.mov(sfuncptr, imm_ptr(sfunc));
|
cc.mov(sfuncptr, imm_ptr(sfunc));
|
||||||
if (cc.is64Bit())
|
if (cc.is64Bit())
|
||||||
cc.mov(x86::qword_ptr(vmframe, offsetof(VMFrame, Func)), sfuncptr);
|
cc.mov(x86::qword_ptr(vmframe, offsetof(VMFrame, Func)), sfuncptr);
|
||||||
|
|
Loading…
Reference in a new issue