Commit 62c5e2a
committed
hv.c: Inline macro to test if an HV has
Previous code would invoke an entire `mg_find()` call just to check if
the given HV happens to have `PERL_MAGIC_env`. This hardcodes knowledge
of the `PERL_MAGIC_env` type in a lot of places that don't really care
about it.env magic1 parent 6a4f62c commit 62c5e2a
6 files changed
+34
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4564 | 4564 | | |
4565 | 4565 | | |
4566 | 4566 | | |
| 4567 | + | |
| 4568 | + | |
| 4569 | + | |
4567 | 4570 | | |
4568 | 4571 | | |
4569 | 4572 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1425 | 1425 | | |
1426 | 1426 | | |
1427 | 1427 | | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
1428 | 1431 | | |
1429 | 1432 | | |
1430 | 1433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
607 | | - | |
| 607 | + | |
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | | - | |
| 672 | + | |
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
717 | | - | |
| 717 | + | |
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
740 | | - | |
741 | | - | |
| 740 | + | |
742 | 741 | | |
743 | 742 | | |
744 | 743 | | |
| |||
944 | 943 | | |
945 | 944 | | |
946 | 945 | | |
947 | | - | |
948 | | - | |
949 | | - | |
| 946 | + | |
950 | 947 | | |
951 | 948 | | |
952 | 949 | | |
| |||
1196 | 1193 | | |
1197 | 1194 | | |
1198 | 1195 | | |
1199 | | - | |
| 1196 | + | |
1200 | 1197 | | |
1201 | 1198 | | |
1202 | 1199 | | |
| |||
1348 | 1345 | | |
1349 | 1346 | | |
1350 | 1347 | | |
1351 | | - | |
| 1348 | + | |
1352 | 1349 | | |
1353 | 1350 | | |
1354 | 1351 | | |
| |||
3063 | 3060 | | |
3064 | 3061 | | |
3065 | 3062 | | |
3066 | | - | |
3067 | | - | |
| 3063 | + | |
3068 | 3064 | | |
3069 | 3065 | | |
3070 | 3066 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
286 | 298 | | |
287 | 299 | | |
288 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2266 | 2266 | | |
2267 | 2267 | | |
2268 | 2268 | | |
2269 | | - | |
2270 | | - | |
| 2269 | + | |
2271 | 2270 | | |
2272 | 2271 | | |
2273 | 2272 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments