PH7_VmMemoryError() always breaks script execution.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-03-09 13:28:04 +01:00
parent 7eba38a633
commit b7e3ad9f46
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 0 additions and 2 deletions

View File

@ -2452,7 +2452,6 @@ static sxi32 VmByteCodeExec(
pMap = PH7_NewHashmap(&(*pVm), 0, 0);
if(pMap == 0) {
PH7_VmMemoryError(&(*pVm));
goto Abort;
}
pObj->x.pOther = pMap;
}
@ -2485,7 +2484,6 @@ static sxi32 VmByteCodeExec(
pMap = PH7_NewHashmap(&(*pVm), 0, 0);
if(pMap == 0) {
PH7_VmMemoryError(&(*pVm));
goto Abort;
}
if(pInstr->iP1 > 0) {
ph7_value *pEntry = &pTos[-pInstr->iP1 + 1]; /* Point to the first entry */