- did a bit of cleanup.

- disabled the runtime check in OP_CALL because as implemented it doesn't clean up properly and is not fully implemented.
This commit is contained in:
Christoph Oelckers 2017-03-04 10:28:51 +01:00
commit fd4727e701
6 changed files with 210 additions and 175 deletions

View file

@ -664,6 +664,7 @@ begin:
VMReturn returns[MAX_RETURNS];
int numret;
#if 0
// [ZZ] hax!
b = B;
if (call->BarrierSide == 3) // :( - this is Side_Virtual. Side_Virtual should receive special arguments.
@ -675,6 +676,7 @@ begin:
FScopeBarrier_ValidateCall(calledfunc, callingfunc, selftype);
b -= 2;
}
#endif
FillReturns(reg, f, returns, pc+1, C);
if (call->Native)