Skip to content

Commit

Permalink
- add more names to asmjit objects
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Oct 12, 2018
1 parent 7ca598d commit 300553a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripting/vm/jit.cpp
Expand Up @@ -221,7 +221,7 @@ void JitCompiler::Setup()
cc.setArg(3, ret);
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");
cc.lea(callReturns, stackalloc);

Expand Down Expand Up @@ -283,7 +283,7 @@ void JitCompiler::Setup()
{
// 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);

auto slowinit = cc.newLabel();
Expand Down Expand Up @@ -335,7 +335,7 @@ void JitCompiler::Setup()
#endif
cc.bind(slowinit);

auto sfuncptr = cc.newIntPtr();
auto sfuncptr = newTempIntPtr();
cc.mov(sfuncptr, imm_ptr(sfunc));
if (cc.is64Bit())
cc.mov(x86::qword_ptr(vmframe, offsetof(VMFrame, Func)), sfuncptr);
Expand Down

0 comments on commit 300553a

Please sign in to comment.