Skip to content

Commit 058597e

Browse files
committed
fixup! Keep optimized opcodes if the result is known-used
1 parent 3f6b870 commit 058597e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/tests/attributes/nodiscard/010.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ $_main:
3434
0000 INIT_FCALL 0 %d string("tmpfile")
3535
0001 V3 = DO_ICALL
3636
0002 ASSIGN CV0($f) V3
37-
0003 INIT_FCALL 2 112 string("flock")
37+
0003 INIT_FCALL 2 %d string("flock")
3838
0004 SEND_VAR CV0($f) 1
3939
0005 SEND_VAL int(5) 2
4040
0006 DO_FCALL_BY_NAME
41-
0007 INIT_FCALL 2 112 string("flock")
41+
0007 INIT_FCALL 2 %d string("flock")
4242
0008 SEND_VAR CV0($f) 1
4343
0009 SEND_VAL int(5) 2
4444
0010 V3 = DO_ICALL
4545
0011 FREE V3
46-
0012 INIT_FCALL 2 112 string("flock")
46+
0012 INIT_FCALL 2 %d string("flock")
4747
0013 SEND_VAR CV0($f) 1
4848
0014 SEND_VAL int(5) 2
4949
0015 V3 = DO_ICALL

0 commit comments

Comments
 (0)