- read the parameters and registers directly off the stack
This commit is contained in:
parent
30fb6268bd
commit
ba4606c1d5
4 changed files with 50 additions and 49 deletions
|
|
@ -50,7 +50,6 @@ static int Exec(VMFrameStack *stack, const VMOP *pc, VMReturn *ret, int numret)
|
|||
//int try_depth = 0;
|
||||
VMFrame *f = stack->TopFrame();
|
||||
VMScriptFunction *sfunc;
|
||||
const VMRegisters reg(f);
|
||||
const int *konstd;
|
||||
const double *konstf;
|
||||
const FString *konsts;
|
||||
|
|
@ -84,7 +83,7 @@ static int Exec(VMFrameStack *stack, const VMOP *pc, VMReturn *ret, int numret)
|
|||
{
|
||||
JitExceptionInfo exceptInfo;
|
||||
exceptInfo.reason = -1;
|
||||
int result = sfunc->JitFunc(stack, ®, ret, numret, &exceptInfo);
|
||||
int result = sfunc->JitFunc(stack, ret, numret, &exceptInfo);
|
||||
if (exceptInfo.reason != -1)
|
||||
{
|
||||
ThrowAbortException(sfunc, exceptInfo.pcOnJitAbort, (EVMAbortException)exceptInfo.reason, nullptr);
|
||||
|
|
@ -93,6 +92,8 @@ static int Exec(VMFrameStack *stack, const VMOP *pc, VMReturn *ret, int numret)
|
|||
}
|
||||
}
|
||||
|
||||
const VMRegisters reg(f);
|
||||
|
||||
void *ptr;
|
||||
double fb, fc;
|
||||
const double *fbp, *fcp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue