diff options
Diffstat (limited to 'deps/v8/test/cctest/compiler/test-linkage.cc')
-rw-r--r-- | deps/v8/test/cctest/compiler/test-linkage.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/deps/v8/test/cctest/compiler/test-linkage.cc b/deps/v8/test/cctest/compiler/test-linkage.cc index 212ff3a8f2..252c43133e 100644 --- a/deps/v8/test/cctest/compiler/test-linkage.cc +++ b/deps/v8/test/cctest/compiler/test-linkage.cc @@ -34,8 +34,8 @@ static Handle<JSFunction> Compile(const char* source) { ->NewStringFromUtf8(CStrVector(source)) .ToHandleChecked(); Handle<SharedFunctionInfo> shared_function = Compiler::CompileScript( - source_code, Handle<String>(), 0, 0, false, false, Handle<Object>(), - Handle<Context>(isolate->native_context()), NULL, NULL, + source_code, Handle<String>(), 0, 0, v8::ScriptOriginOptions(), + Handle<Object>(), Handle<Context>(isolate->native_context()), NULL, NULL, v8::ScriptCompiler::kNoCompileOptions, NOT_NATIVES_CODE, false); return isolate->factory()->NewFunctionFromSharedFunctionInfo( shared_function, isolate->native_context()); @@ -114,5 +114,4 @@ TEST(TestLinkageStubCall) { // TODO(titzer): test linkage creation for outgoing stub calls. } - #endif // V8_TURBOFAN_TARGET |