Commit 7a2d5ef
authored
[JIT] Avoid generating fast property assign path for readonly properties (php#15260)
readonly properties will usually be IS_UNDEF on assignment, dodging the fast
path anyway. The fast path does not handle the readonly scope check. The
alternative would be handling scope there, but since there are some many
variants that might be more trouble than it's worth.1 parent 42c9963 commit 7a2d5ef
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14435 | 14435 | | |
14436 | 14436 | | |
14437 | 14437 | | |
14438 | | - | |
| 14438 | + | |
| 14439 | + | |
| 14440 | + | |
| 14441 | + | |
| 14442 | + | |
| 14443 | + | |
| 14444 | + | |
14439 | 14445 | | |
14440 | 14446 | | |
14441 | 14447 | | |
| |||
14527 | 14533 | | |
14528 | 14534 | | |
14529 | 14535 | | |
| 14536 | + | |
| 14537 | + | |
14530 | 14538 | | |
14531 | 14539 | | |
14532 | 14540 | | |
| |||
0 commit comments