Commit ceb62e5
src: remove usage on ScriptCompiler::CompileFunctionInContext
V8 APIs like HostImportModuleDynamicallyCallback and
ScriptCompiler::CompileFunction is moving away from ScriptOrModule.
Replaces ScriptCompiler::CompileFunctionInContext with
ScriptCompiler::CompileFunction to remove the usages on the optional
out param ScriptOrModule.
PR-URL: #44198
Fixes: nodejs/node-v8#214
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>1 parent a82e768 commit ceb62e5Copy full SHA for ceb62e5
File tree
Expand file treeCollapse file tree
4 files changed
+34
-33
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
4 files changed
+34
-33
lines changedOpen diff view settings
Collapse file
+11-11Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
243 | 243 | |
244 | 244 | |
245 | 245 | |
246 | | - |
247 | | - |
248 | | - |
| 246 | + |
| 247 | + |
| 248 | + |
249 | 249 | |
250 | 250 | |
251 | 251 | |
| ||
267 | 267 | |
268 | 268 | |
269 | 269 | |
270 | | - |
271 | | - |
272 | | - |
273 | | - |
274 | | - |
275 | | - |
276 | | - |
| 270 | + |
| 271 | + |
| 272 | + |
| 273 | + |
| 274 | + |
| 275 | + |
| 276 | + |
277 | 277 | |
278 | 278 | |
279 | 279 | |
280 | 280 | |
281 | 281 | |
282 | 282 | |
283 | | - |
| 283 | + |
284 | 284 | |
285 | 285 | |
286 | 286 | |
|
Collapse file
+14-13Lines changed: 14 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
70 | 70 | |
71 | 71 | |
72 | 72 | |
73 | | - |
74 | 73 | |
75 | 74 | |
76 | 75 | |
| ||
1126 | 1125 | |
1127 | 1126 | |
1128 | 1127 | |
1129 | | - |
1130 | | - |
1131 | | - |
1132 | | - |
1133 | | - |
| 1128 | + |
| 1129 | + |
| 1130 | + |
| 1131 | + |
| 1132 | + |
| 1133 | + |
| 1134 | + |
| 1135 | + |
| 1136 | + |
1134 | 1137 | |
1135 | 1138 | |
1136 | 1139 | |
| ||
1146 | 1149 | |
1147 | 1150 | |
1148 | 1151 | |
1149 | | - |
| 1152 | + |
1150 | 1153 | |
1151 | 1154 | |
1152 | 1155 | |
| ||
1192 | 1195 | |
1193 | 1196 | |
1194 | 1197 | |
1195 | | - |
1196 | | - |
1197 | | - |
1198 | | - |
1199 | | - |
| 1198 | + |
| 1199 | + |
| 1200 | + |
1200 | 1201 | |
1201 | 1202 | |
1202 | 1203 | |
1203 | 1204 | |
1204 | | - |
| 1205 | + |
1205 | 1206 | |
1206 | 1207 | |
1207 | 1208 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
174 | 174 | |
175 | 175 | |
176 | 176 | |
177 | | - |
| 177 | + |
178 | 178 | |
179 | 179 | |
180 | 180 | |
181 | 181 | |
182 | 182 | |
183 | 183 | |
184 | | - |
| 184 | + |
185 | 185 | |
186 | 186 | |
187 | 187 | |
|
Collapse file
+7-7Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1335 | 1335 | |
1336 | 1336 | |
1337 | 1337 | |
1338 | | - |
1339 | | - |
1340 | | - |
1341 | | - |
1342 | | - |
1343 | | - |
1344 | | - |
| 1338 | + |
| 1339 | + |
| 1340 | + |
| 1341 | + |
| 1342 | + |
| 1343 | + |
| 1344 | + |
1345 | 1345 | |
1346 | 1346 | |
1347 | 1347 | |
|
0 commit comments