diff options
Diffstat (limited to 'deps/v8/test/cctest/compiler/test-linkage.cc')
-rw-r--r-- | deps/v8/test/cctest/compiler/test-linkage.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/deps/v8/test/cctest/compiler/test-linkage.cc b/deps/v8/test/cctest/compiler/test-linkage.cc index 39ef66c5eb8..38c5d17b6b3 100644 --- a/deps/v8/test/cctest/compiler/test-linkage.cc +++ b/deps/v8/test/cctest/compiler/test-linkage.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "src/api.h" +#include "src/api-inl.h" #include "src/code-factory.h" #include "src/code-stubs.h" #include "src/compiler.h" @@ -35,8 +35,9 @@ static Handle<JSFunction> Compile(const char* source) { .ToHandleChecked(); Handle<SharedFunctionInfo> shared = Compiler::GetSharedFunctionInfoForScript( - source_code, Compiler::ScriptDetails(), v8::ScriptOriginOptions(), - nullptr, nullptr, v8::ScriptCompiler::kNoCompileOptions, + isolate, source_code, Compiler::ScriptDetails(), + v8::ScriptOriginOptions(), nullptr, nullptr, + v8::ScriptCompiler::kNoCompileOptions, ScriptCompiler::kNoCacheNoReason, NOT_NATIVES_CODE) .ToHandleChecked(); return isolate->factory()->NewFunctionFromSharedFunctionInfo( |