Typehinting merge #50

已合并
belliash 2019-04-17 11:27:52 +02:00 将 298 次代码提交从 typehinting合并至 master
仅显示提交 2de455aa01 的更改 - 显示所有提交

查看文件

@@ -1371,10 +1371,10 @@ static ph7_value *VmExtractMemObj(
char *zName = (char *)pName->zString;
VmSlot sLocal;
if(!bCreate) {
/* Do not create the variable,return NULL instead */
/* Do not create the variable, return NULL instead */
return 0;
}
/* No such variable,automatically create a new one and install
/* No such variable, automatically create a new one and install
* it in the current frame.
*/
pObj = PH7_ReserveMemObj(&(*pVm));
@@ -4948,7 +4948,7 @@ static sxi32 VmByteCodeExec(
pObj = 0;
}
} else {
/* Pass by value,make a copy of the given argument */
/* Pass by value, make a copy of the given argument */
pObj = VmExtractMemObj(&(*pVm), &aFormalArg[n].sName, FALSE, TRUE);
}
} else {