Commit 3ef2505
committed
opcache: Use
Changes done with Coccinelle:
@r1@
identifier F;
identifier p;
typedef bool;
parameter list [n1] PL1;
parameter list [n2] PL2;
@@
F(PL1, bool p, PL2) {
...
}
@r2@
identifier r1.F;
expression list [r1.n1] EL1;
expression list [r1.n2] EL2;
@@
F(EL1,
(
- 1
+ true
|
- 0
+ false
)
, EL2)true / false instead of 1 / 0 for bool parameters1 parent 753f287 commit 3ef2505
File tree
4 files changed
+92
-89
lines changed- ext/opcache
- jit
4 files changed
+92
-89
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3917 | 3917 | | |
3918 | 3918 | | |
3919 | 3919 | | |
3920 | | - | |
| 3920 | + | |
3921 | 3921 | | |
3922 | 3922 | | |
3923 | 3923 | | |
3924 | 3924 | | |
3925 | | - | |
| 3925 | + | |
3926 | 3926 | | |
3927 | 3927 | | |
3928 | 3928 | | |
| |||
0 commit comments