Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 8586edb20eedd913fce76fb4d87adabaf23bbf30..ae3596cae3b7c99ac348f268418e3edad8006a02 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -808,7 +808,7 @@ static Handle<SharedFunctionInfo> CompileScript( |
Isolate* isolate, Handle<String> source, Handle<String> name, |
ScriptData** cached_data, v8::ScriptCompiler::CompileOptions options) { |
return Compiler::CompileScript( |
- source, name, 0, 0, false, false, Handle<Object>(), |
+ source, name, 0, 0, v8::ScriptOriginOptions(), Handle<Object>(), |
Handle<Context>(isolate->native_context()), NULL, cached_data, options, |
NOT_NATIVES_CODE, false); |
} |
@@ -887,7 +887,7 @@ TEST(CodeCachePromotedToCompilationCache) { |
isolate, src, src, &cache, v8::ScriptCompiler::kConsumeCodeCache); |
CHECK(isolate->compilation_cache() |
- ->LookupScript(src, src, 0, 0, false, false, |
+ ->LookupScript(src, src, 0, 0, v8::ScriptOriginOptions(), |
isolate->native_context(), SLOPPY) |
.ToHandleChecked() |
.is_identical_to(copy)); |