Commit 3a75b3c
committed
Make the re-entrancy flag bit width-relative
zend_long is 32 bits on i386, where a constant 1 << 32 does not compile.
Object ids are memory bound (every id owns a zval slot) far below bit 30
on 32-bit and bit 62 on 64-bit, so use the width's second-highest bit.1 parent 4a092d4 commit 3a75b3c
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3221 | 3221 | | |
3222 | 3222 | | |
3223 | 3223 | | |
3224 | | - | |
3225 | | - | |
| 3224 | + | |
| 3225 | + | |
| 3226 | + | |
| 3227 | + | |
3226 | 3228 | | |
3227 | 3229 | | |
3228 | 3230 | | |
| |||
0 commit comments