Skip to content

Commit 74722b0

Browse files
committed
Remvoe broken VERIFY_RETURN_TYPE sccp
This opcode does coercion.
1 parent e273b67 commit 74722b0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Zend/Optimizer/sccp.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,14 +1764,6 @@ static void sccp_visit_instr(scdf_ctx *scdf, zend_op *opline, zend_ssa_op *ssa_o
17641764
SET_RESULT_BOT(result);
17651765
break;
17661766
}
1767-
case ZEND_VERIFY_RETURN_TYPE:
1768-
if (opline->result_type != IS_UNUSED && opline->op1_type != IS_UNUSED) {
1769-
SKIP_IF_TOP(op1);
1770-
SET_RESULT(result, op1);
1771-
break;
1772-
}
1773-
SET_RESULT_BOT(result);
1774-
break;
17751767
default:
17761768
{
17771769
/* If we have no explicit implementation return BOT */

0 commit comments

Comments
 (0)