- avoid function call in VM code.
- return after calling ThrowAbortException because this avoids storing some register variables on the stack.
This commit is contained in:
parent
62bac1d612
commit
b50123ec6b
2 changed files with 41 additions and 13 deletions
|
|
@ -101,7 +101,7 @@ void ThrowVMException(VMException *x);
|
|||
}
|
||||
|
||||
#define GETADDR(a,o,x) \
|
||||
if (a == NULL) { ThrowAbortException(x, nullptr); } \
|
||||
if (a == NULL) { ThrowAbortException(x, nullptr); return 0; } \
|
||||
ptr = (VM_SBYTE *)a + o
|
||||
|
||||
#ifdef NDEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue