- fix missing line number for the function throwing the exception and remove the duplicate call stack line

This commit is contained in:
Magnus Norddahl 2018-12-20 04:50:45 +01:00
commit b0d8a813f9
3 changed files with 39 additions and 24 deletions

View file

@ -219,8 +219,8 @@ private:
void EmitThrowException(EVMAbortException reason);
asmjit::Label EmitThrowExceptionLabel(EVMAbortException reason);
static void ThrowArrayOutOfBounds(VMScriptFunction *func, VMOP *line, int index, int size);
static void ThrowException(VMScriptFunction *func, VMOP *line, int reason);
static void ThrowArrayOutOfBounds(int index, int size);
static void ThrowException(int reason);
asmjit::X86Gp CheckRegD(int r0, int r1);
asmjit::X86Xmm CheckRegF(int r0, int r1);