| Index: test/cctest/test-compiler.cc
|
| diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc
|
| index 32c153ce79280b3d503c46a93cbddb52286bd777..ef09891cb7d7eee60fdc8cef6d514f28ed78dd30 100644
|
| --- a/test/cctest/test-compiler.cc
|
| +++ b/test/cctest/test-compiler.cc
|
| @@ -60,8 +60,8 @@ static Handle<JSFunction> Compile(const char* source) {
|
| Handle<String> source_code = isolate->factory()->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());
|
|
|