From 77795bea4c1092ae9003709a19dc30259670c5ab Mon Sep 17 00:00:00 2001 From: belliash Date: Mon, 8 Apr 2019 13:51:54 +0200 Subject: [PATCH] Do not check for return value on OP_DONE. --- engine/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/vm.c b/engine/vm.c index a8b1713..4c15128 100644 --- a/engine/vm.c +++ b/engine/vm.c @@ -6783,7 +6783,7 @@ PH7_PRIVATE sxi32 PH7_VmCallClassMethod( /* Emit the DONE instruction */ aInstr[1].iOp = PH7_OP_DONE; aInstr[1].iP1 = 1; /* Extract method return value */ - aInstr[1].iP2 = 0; + aInstr[1].iP2 = 1; aInstr[1].p3 = 0; aInstr[1].bExec = FALSE; aInstr[1].iLine = 1;