| Index: test/cctest/compiler/test-linkage.cc
|
| diff --git a/test/cctest/compiler/test-linkage.cc b/test/cctest/compiler/test-linkage.cc
|
| index 212ff3a8f20c7f8bf17a951505a92dc1c713fad4..b903336c0cc089d21f4866c2bd127ad34c028710 100644
|
| --- a/test/cctest/compiler/test-linkage.cc
|
| +++ b/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());
|
|
|