Browse Source

Correct comments.

release/v0.1
Rafal Kupiec 3 years ago
parent
commit
43a36f070c
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      engine/vm.c

+ 3
- 3
engine/vm.c View File

@ -2858,7 +2858,7 @@ static sxi32 VmByteCodeExec(
MemObjSetType(pTos, MEMOBJ_INT);
}
if(pInstr->iP1) {
/* Pre-icrement */
/* Pre-increment */
PH7_MemObjStore(pObj, pTos);
}
}
@ -2909,13 +2909,13 @@ static sxi32 VmByteCodeExec(
MemObjSetType(pTos, MEMOBJ_INT);
}
if(pInstr->iP1) {
/* Pre-icrement */
/* Pre-decrement */
PH7_MemObjStore(pObj, pTos);
}
}
} else {
if(pInstr->iP1) {
/* Pre-increment */
/* Pre-decrement */
if(pTos->iFlags & MEMOBJ_REAL) {
pTos->rVal--;
/* Try to get an integer representation */


Loading…
Cancel
Save