Skip to content

Commit

Permalink
- give the remaining virtual registers names
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Oct 12, 2018
1 parent c86e448 commit b15ca09
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/scripting/vm/jit.cpp
Expand Up @@ -269,11 +269,11 @@ void JitCompiler::Setup()
cc.add(vmcalls, (int)1);
cc.mov(x86::dword_ptr(vmcallsptr), vmcalls);

frameD = cc.newIntPtr();
frameF = cc.newIntPtr();
frameS = cc.newIntPtr();
frameA = cc.newIntPtr();
params = cc.newIntPtr();
frameD = cc.newIntPtr("frameD");
frameF = cc.newIntPtr("frameF");
frameS = cc.newIntPtr("frameS");
frameA = cc.newIntPtr("frameA");
params = cc.newIntPtr("params");

// the VM version reads this from the stack, but it is constant data
int offsetParams = ((int)sizeof(VMFrame) + 15) & ~15;
Expand Down

0 comments on commit b15ca09

Please sign in to comment.