Commit e5e60f5
build: remove (almost) unused macros/constants
Macros, like CHECK, cause issues for tracking coverage because
they modify the source before it's placed in V8. Upon investigation
it seemed that we only used this functionality in two places:
internal/vm/module.js, and internal/async_hooks.js (in comments).
Given this, it seemed to make more sense to move CHECK to
JavaScript, and retire a mostly unused build step.
PR-URL: #30755
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 248921b commit e5e60f5Copy full SHA for e5e60f5
File tree
Expand file treeCollapse file tree
8 files changed
+13
-208
lines changedOpen diff view settings
Filter options
- lib
- internal/vm
- tools
- js2c_macros
Expand file treeCollapse file tree
8 files changed
+13
-208
lines changedOpen diff view settings
Collapse file
-15Lines changed: 0 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | | - |
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | | - |
71 | | - |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | 65 | |
81 | 66 | |
82 | 67 | |
|
Collapse file
+8-2Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
| 3 | + |
3 | 4 | |
4 | 5 | |
5 | 6 | |
| ||
59 | 60 | |
60 | 61 | |
61 | 62 | |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
62 | 68 | |
63 | 69 | |
64 | 70 | |
| ||
119 | 125 | |
120 | 126 | |
121 | 127 | |
122 | | - |
| 128 | + |
123 | 129 | |
124 | 130 | |
125 | 131 | |
| ||
375 | 381 | |
376 | 382 | |
377 | 383 | |
378 | | - |
| 384 | + |
379 | 385 | |
380 | 386 | |
381 | 387 | |
|
Collapse file
+1-13Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
899 | 899 | |
900 | 900 | |
901 | 901 | |
902 | | - |
903 | | - |
| 902 | + |
904 | 903 | |
905 | 904 | |
906 | 905 | |
907 | 906 | |
908 | | - |
909 | | - |
910 | | - |
911 | | - |
912 | | - |
913 | | - |
914 | | - |
915 | | - |
916 | | - |
917 | | - |
918 | | - |
919 | 907 | |
920 | 908 | |
921 | 909 | |
|
Collapse file
+4-140Lines changed: 4 additions & 140 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | | - |
71 | | - |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | | - |
96 | | - |
97 | | - |
98 | | - |
99 | | - |
100 | | - |
101 | | - |
102 | | - |
103 | | - |
104 | | - |
105 | | - |
106 | | - |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | | - |
115 | | - |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | | - |
121 | | - |
122 | | - |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | | - |
128 | | - |
129 | | - |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | | - |
151 | | - |
152 | | - |
153 | | - |
154 | | - |
155 | | - |
156 | | - |
157 | | - |
158 | | - |
159 | | - |
160 | | - |
161 | | - |
162 | | - |
163 | | - |
164 | | - |
165 | | - |
166 | | - |
167 | | - |
168 | | - |
169 | | - |
170 | | - |
171 | | - |
172 | | - |
173 | | - |
174 | | - |
175 | | - |
176 | | - |
177 | | - |
178 | | - |
179 | 48 | |
180 | 49 | |
181 | 50 | |
| ||
243 | 112 | |
244 | 113 | |
245 | 114 | |
246 | | - |
| 115 | + |
247 | 116 | |
248 | | - |
249 | | - |
250 | 117 | |
251 | 118 | |
252 | 119 | |
| ||
267 | 134 | |
268 | 135 | |
269 | 136 | |
270 | | - |
271 | | - |
272 | | - |
273 | 137 | |
274 | 138 | |
275 | 139 | |
276 | 140 | |
277 | 141 | |
278 | | - |
| 142 | + |
279 | 143 | |
280 | 144 | |
281 | 145 | |
| ||
341 | 205 | |
342 | 206 | |
343 | 207 | |
344 | | - |
345 | | - |
| 208 | + |
| 209 | + |
346 | 210 | |
347 | 211 | |
348 | 212 | |
|
Collapse file
tools/js2c_macros/check_macros.py
Copy file name to clipboardExpand all lines: tools/js2c_macros/check_macros.py-8Lines changed: 0 additions & 8 deletions
This file was deleted.
Collapse file
tools/js2c_macros/dcheck_macros.py
Copy file name to clipboardExpand all lines: tools/js2c_macros/dcheck_macros.py-9Lines changed: 0 additions & 9 deletions
This file was deleted.
Collapse file
tools/js2c_macros/nodcheck_macros.py
Copy file name to clipboardExpand all lines: tools/js2c_macros/nodcheck_macros.py-9Lines changed: 0 additions & 9 deletions
This file was deleted.
Collapse file
tools/js2c_macros/notrace_macros.py
Copy file name to clipboardExpand all lines: tools/js2c_macros/notrace_macros.py-12Lines changed: 0 additions & 12 deletions
This file was deleted.
0 commit comments