parent
cb8ddaab5f
commit
43a36f070c
|
@ -2858,7 +2858,7 @@ static sxi32 VmByteCodeExec(
|
||||||
MemObjSetType(pTos, MEMOBJ_INT);
|
MemObjSetType(pTos, MEMOBJ_INT);
|
||||||
}
|
}
|
||||||
if(pInstr->iP1) {
|
if(pInstr->iP1) {
|
||||||
/* Pre-icrement */
|
/* Pre-increment */
|
||||||
PH7_MemObjStore(pObj, pTos);
|
PH7_MemObjStore(pObj, pTos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2909,13 +2909,13 @@ static sxi32 VmByteCodeExec(
|
||||||
MemObjSetType(pTos, MEMOBJ_INT);
|
MemObjSetType(pTos, MEMOBJ_INT);
|
||||||
}
|
}
|
||||||
if(pInstr->iP1) {
|
if(pInstr->iP1) {
|
||||||
/* Pre-icrement */
|
/* Pre-decrement */
|
||||||
PH7_MemObjStore(pObj, pTos);
|
PH7_MemObjStore(pObj, pTos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(pInstr->iP1) {
|
if(pInstr->iP1) {
|
||||||
/* Pre-increment */
|
/* Pre-decrement */
|
||||||
if(pTos->iFlags & MEMOBJ_REAL) {
|
if(pTos->iFlags & MEMOBJ_REAL) {
|
||||||
pTos->rVal--;
|
pTos->rVal--;
|
||||||
/* Try to get an integer representation */
|
/* Try to get an integer representation */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user