This commit is contained in:
17
engine/vm.c
17
engine/vm.c
@@ -2283,20 +2283,6 @@ static sxi32 VmByteCodeExec(
|
||||
/* Invalidate any prior representation */
|
||||
MemObjSetType(pTos, MEMOBJ_CHAR);
|
||||
break;
|
||||
/*
|
||||
* CVT_NUMC: * * *
|
||||
*
|
||||
* Force the top of the stack to be a numeric type (integer,real or both).
|
||||
*/
|
||||
case PH7_OP_CVT_NUMC:
|
||||
#ifdef UNTRUST
|
||||
if(pTos < pStack) {
|
||||
goto Abort;
|
||||
}
|
||||
#endif
|
||||
/* Force a numeric cast */
|
||||
PH7_MemObjToNumeric(pTos);
|
||||
break;
|
||||
/*
|
||||
* CVT_OBJ: * * *
|
||||
*
|
||||
@@ -5348,9 +5334,6 @@ static const char *VmInstrToString(sxi32 nOp) {
|
||||
case PH7_OP_CVT_OBJ:
|
||||
zOp = "CVT_OBJ";
|
||||
break;
|
||||
case PH7_OP_CVT_NUMC:
|
||||
zOp = "CVT_NUMC";
|
||||
break;
|
||||
case PH7_OP_INCR:
|
||||
zOp = "INCR";
|
||||
break;
|
||||
|
Reference in New Issue
Block a user