This commit is contained in:
parent
9a41f7195d
commit
154469f475
16
engine/vm.c
16
engine/vm.c
|
@ -2234,19 +2234,6 @@ static sxi32 VmByteCodeExec(
|
|||
/* Invalidate any prior representation */
|
||||
MemObjSetType(pTos, MEMOBJ_CHAR);
|
||||
break;
|
||||
/*
|
||||
* CVT_NULL: * * *
|
||||
*
|
||||
* Nullify the top of the stack.
|
||||
*/
|
||||
case PH7_OP_CVT_NULL:
|
||||
#ifdef UNTRUST
|
||||
if(pTos < pStack) {
|
||||
goto Abort;
|
||||
}
|
||||
#endif
|
||||
PH7_MemObjRelease(pTos);
|
||||
break;
|
||||
/*
|
||||
* CVT_NUMC: * * *
|
||||
*
|
||||
|
@ -5645,9 +5632,6 @@ static const char *VmInstrToString(sxi32 nOp) {
|
|||
case PH7_OP_CVT_BOOL:
|
||||
zOp = "CVT_BOOL";
|
||||
break;
|
||||
case PH7_OP_CVT_NULL:
|
||||
zOp = "CVT_NULL";
|
||||
break;
|
||||
case PH7_OP_CVT_OBJ:
|
||||
zOp = "CVT_OBJ";
|
||||
break;
|
||||
|
|
|
@ -1455,7 +1455,6 @@ enum ph7_vm_op {
|
|||
PH7_OP_LOAD_REF, /* Load reference */
|
||||
PH7_OP_STORE_REF, /* Store a reference to a variable*/
|
||||
PH7_OP_MEMBER, /* Class member run-time access */
|
||||
PH7_OP_CVT_NULL, /* NULL cast */
|
||||
PH7_OP_CVT_OBJ, /* Object cast */
|
||||
PH7_OP_CVT_CALL, /* Callback cast */
|
||||
PH7_OP_CVT_RES, /* Resource cast */
|
||||
|
|
Loading…
Reference in New Issue
Block a user