We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67b13d1 commit d99ea48Copy full SHA for d99ea48
src/node_builtins.cc
@@ -285,7 +285,7 @@ MaybeLocal<Function> BuiltinLoader::LookupAndCompileInternal(
285
const bool has_cache = cached_data.data != nullptr;
286
ScriptCompiler::CompileOptions options =
287
has_cache ? ScriptCompiler::kConsumeCodeCache
288
- : ScriptCompiler::kEagerCompile;
+ : ScriptCompiler::kNoCompileOptions;
289
ScriptCompiler::Source script_source(
290
source,
291
origin,
src/node_snapshotable.cc
@@ -1270,7 +1270,7 @@ void CompileSerializeMain(const FunctionCallbackInfo<Value>& args) {
1270
parameters.data(),
1271
0,
1272
nullptr,
1273
- ScriptCompiler::kEagerCompile)
+ ScriptCompiler::kNoCompileOptions)
1274
.ToLocal(&fn)) {
1275
args.GetReturnValue().Set(fn);
1276
}
0 commit comments