Skip to content

Commit 2c8e56f

Browse files
committed
ScriptCompiler::kNoCompileOptions
1 parent a95dab5 commit 2c8e56f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/node_contextify.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,6 @@ bool ContextifyContext::ShouldRetryAsESMInternal(Environment* env,
15171517
GetHostDefinedOptions(isolate, id_symbol);
15181518
ScriptCompiler::Source source = GetCommonJSSourceInstance(
15191519
isolate, code, script_id, 0, 0, host_defined_options, nullptr);
1520-
ScriptCompiler::CompileOptions options = GetCompileOptions(source);
15211520

15221521
TryCatchScope try_catch(env);
15231522
ShouldNotAbortOnUncaughtScope no_abort_scope(env);
@@ -1545,7 +1544,7 @@ bool ContextifyContext::ShouldRetryAsESMInternal(Environment* env,
15451544
params.data(),
15461545
0,
15471546
nullptr,
1548-
options,
1547+
ScriptCompiler::kNoCompileOptions,
15491548
v8::ScriptCompiler::NoCacheReason::kNoCacheNoReason);
15501549

15511550
if (!try_catch.HasTerminated()) {

0 commit comments

Comments
 (0)