Add missing VM OP descriptions.
所有检测均成功
The build was successful.

这个提交包含在:
Rafal Kupiec 2019-04-16 19:12:39 +02:00
父节点 2894c55dfa
当前提交 88d382b76b
签署人:: belliash
GPG 密钥 ID: 4E829243E0CFE6B4

查看文件

@ -2182,6 +2182,11 @@ static sxi32 VmByteCodeExec(
VmPopOperand(&pTos, 1);
}
break;
/*
* JMPLFB: * * *
*
* Creates and enters the jump loop frame on the beginning of each iteration.
*/
case PH7_OP_JMPLFB: {
VmFrame *pFrame;
/* Enter the jump loop frame */
@ -2192,6 +2197,10 @@ static sxi32 VmByteCodeExec(
pFrame->iFlags = VM_FRAME_LOOP;
break;
}
/*
* Leaves and destroys the jump loop frame at the end of each iteration
* as well as on 'break' and 'continue' instructions.
*/
case PH7_OP_JMPLFE: {
/* Leave the jump loop frame */
if(pVm->pFrame->iFlags & VM_FRAME_LOOP) {