- reenabled the part of OP_THROW that throws a VMAbortException. This part is still needed for a runtime variable access check.

This commit is contained in:
Christoph Oelckers 2017-04-11 00:11:36 +02:00
parent 4c1e03ebff
commit 7a6e70e777
3 changed files with 6 additions and 2 deletions

View file

@ -6534,7 +6534,7 @@ ExpEmit FxSelf::Emit(VMFunctionBuilder *build)
{
build->Emit(OP_EQA_R, 1, 0, 1);
build->Emit(OP_JMP, 1);
//build->Emit(OP_THROW, 2, X_BAD_SELF);
build->Emit(OP_THROW, 2, X_BAD_SELF);
}
// self is always the first pointer passed to the function
return ExpEmit(0, REGT_POINTER, false, true);