Commit 07bd293
Move enable_patching global into ModuleState
Summary:
Move the `enable_patching` file-scope global variable from `_cinderx-lib.cpp`
into the `ModuleState` class. This is part of a broader effort to consolidate
CinderX global state into the ModuleState singleton to improve modularity and
support proper multi-phase initialization.
Reviewed By: yoney
Differential Revision: D96480469
fbshipit-source-id: 68ceb303d569cd49b323b1e5a40bc433103581551 parent 2ab3c3b commit 07bd293
2 files changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
859 | | - | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | 859 | | |
864 | 860 | | |
865 | 861 | | |
| |||
876 | 872 | | |
877 | 873 | | |
878 | 874 | | |
879 | | - | |
| 875 | + | |
880 | 876 | | |
881 | 877 | | |
882 | 878 | | |
| |||
1495 | 1491 | | |
1496 | 1492 | | |
1497 | 1493 | | |
1498 | | - | |
| 1494 | + | |
1499 | 1495 | | |
1500 | 1496 | | |
1501 | 1497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
0 commit comments