Commit 9614907
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 f5e2f6c commit 9614907Copy full SHA for 9614907
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
+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 | |
| ||
1130 | 1129 | |
1131 | 1130 | |
1132 | 1131 | |
1133 | | - |
1134 | | - |
1135 | | - |
1136 | | - |
1137 | | - |
| 1132 | + |
| 1133 | + |
| 1134 | + |
| 1135 | + |
| 1136 | + |
| 1137 | + |
| 1138 | + |
| 1139 | + |
| 1140 | + |
1138 | 1141 | |
1139 | 1142 | |
1140 | 1143 | |
| ||
1150 | 1153 | |
1151 | 1154 | |
1152 | 1155 | |
1153 | | - |
| 1156 | + |
1154 | 1157 | |
1155 | 1158 | |
1156 | 1159 | |
| ||
1196 | 1199 | |
1197 | 1200 | |
1198 | 1201 | |
1199 | | - |
1200 | | - |
1201 | | - |
1202 | | - |
1203 | | - |
| 1202 | + |
| 1203 | + |
| 1204 | + |
1204 | 1205 | |
1205 | 1206 | |
1206 | 1207 | |
1207 | 1208 | |
1208 | | - |
| 1209 | + |
1209 | 1210 | |
1210 | 1211 | |
1211 | 1212 | |
|
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
+11-11Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
256 | 256 | |
257 | 257 | |
258 | 258 | |
259 | | - |
260 | | - |
261 | | - |
| 259 | + |
| 260 | + |
| 261 | + |
262 | 262 | |
263 | 263 | |
264 | 264 | |
| ||
280 | 280 | |
281 | 281 | |
282 | 282 | |
283 | | - |
284 | | - |
285 | | - |
286 | | - |
287 | | - |
288 | | - |
289 | | - |
| 283 | + |
| 284 | + |
| 285 | + |
| 286 | + |
| 287 | + |
| 288 | + |
| 289 | + |
290 | 290 | |
291 | 291 | |
292 | 292 | |
293 | 293 | |
294 | 294 | |
295 | 295 | |
296 | | - |
| 296 | + |
297 | 297 | |
298 | 298 | |
299 | 299 | |
|
Collapse file
+7-7Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
484 | 484 | |
485 | 485 | |
486 | 486 | |
487 | | - |
488 | | - |
489 | | - |
490 | | - |
491 | | - |
492 | | - |
493 | | - |
| 487 | + |
| 488 | + |
| 489 | + |
| 490 | + |
| 491 | + |
| 492 | + |
| 493 | + |
494 | 494 | |
495 | 495 | |
496 | 496 | |
|
0 commit comments