We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e18979 commit 98b5d66Copy full SHA for 98b5d66
src/node_contextify.cc
@@ -1103,8 +1103,8 @@ void ContextifyContext::CompileFunction(
1103
}
1104
1105
if (produce_cached_data) {
1106
- const std::unique_ptr<ScriptCompiler::CachedData>
1107
- cached_data(ScriptCompiler::CreateCodeCacheForFunction(fun, code));
+ const std::unique_ptr<ScriptCompiler::CachedData> cached_data(
+ ScriptCompiler::CreateCodeCacheForFunction(fun));
1108
bool cached_data_produced = cached_data != nullptr;
1109
if (cached_data_produced) {
1110
MaybeLocal<Object> buf = Buffer::Copy(
0 commit comments