Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 4c6e6231d6cff658d8242b2ef42fcc198ab20046..f1fbccc3a7b6715bd4855cd915148b69d0491b01 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -724,7 +724,7 @@ TEST(SerializeToplevelOnePlusOne) { |
ScriptData* cache = NULL; |
Handle<SharedFunctionInfo> orig = Compiler::CompileScript( |
- orig_source, Handle<String>(), 0, 0, false, |
+ orig_source, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kProduceCodeCache, NOT_NATIVES_CODE); |
@@ -734,7 +734,7 @@ TEST(SerializeToplevelOnePlusOne) { |
{ |
DisallowCompilation no_compile_expected(isolate); |
copy = Compiler::CompileScript( |
- copy_source, Handle<String>(), 0, 0, false, |
+ copy_source, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kConsumeCodeCache, NOT_NATIVES_CODE); |
} |
@@ -779,7 +779,7 @@ TEST(SerializeToplevelInternalizedString) { |
ScriptData* cache = NULL; |
Handle<SharedFunctionInfo> orig = Compiler::CompileScript( |
- orig_source, Handle<String>(), 0, 0, false, |
+ orig_source, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kProduceCodeCache, NOT_NATIVES_CODE); |
Handle<JSFunction> orig_fun = |
@@ -795,7 +795,7 @@ TEST(SerializeToplevelInternalizedString) { |
{ |
DisallowCompilation no_compile_expected(isolate); |
copy = Compiler::CompileScript( |
- copy_source, Handle<String>(), 0, 0, false, |
+ copy_source, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kConsumeCodeCache, NOT_NATIVES_CODE); |
} |
@@ -855,7 +855,7 @@ TEST(SerializeToplevelLargeCodeObject) { |
ScriptData* cache = NULL; |
Handle<SharedFunctionInfo> orig = Compiler::CompileScript( |
- source_str, Handle<String>(), 0, 0, false, |
+ source_str, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kProduceCodeCache, NOT_NATIVES_CODE); |
@@ -865,7 +865,7 @@ TEST(SerializeToplevelLargeCodeObject) { |
{ |
DisallowCompilation no_compile_expected(isolate); |
copy = Compiler::CompileScript( |
- source_str, Handle<String>(), 0, 0, false, |
+ source_str, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kConsumeCodeCache, NOT_NATIVES_CODE); |
} |
@@ -911,7 +911,7 @@ TEST(SerializeToplevelLargeStrings) { |
ScriptData* cache = NULL; |
Handle<SharedFunctionInfo> orig = Compiler::CompileScript( |
- source_str, Handle<String>(), 0, 0, false, |
+ source_str, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kProduceCodeCache, NOT_NATIVES_CODE); |
@@ -919,7 +919,7 @@ TEST(SerializeToplevelLargeStrings) { |
{ |
DisallowCompilation no_compile_expected(isolate); |
copy = Compiler::CompileScript( |
- source_str, Handle<String>(), 0, 0, false, |
+ source_str, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kConsumeCodeCache, NOT_NATIVES_CODE); |
} |
@@ -984,7 +984,7 @@ TEST(SerializeToplevelThreeBigStrings) { |
ScriptData* cache = NULL; |
Handle<SharedFunctionInfo> orig = Compiler::CompileScript( |
- source_str, Handle<String>(), 0, 0, false, |
+ source_str, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kProduceCodeCache, NOT_NATIVES_CODE); |
@@ -992,7 +992,7 @@ TEST(SerializeToplevelThreeBigStrings) { |
{ |
DisallowCompilation no_compile_expected(isolate); |
copy = Compiler::CompileScript( |
- source_str, Handle<String>(), 0, 0, false, |
+ source_str, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kConsumeCodeCache, NOT_NATIVES_CODE); |
} |
@@ -1092,7 +1092,7 @@ TEST(SerializeToplevelExternalString) { |
ScriptData* cache = NULL; |
Handle<SharedFunctionInfo> orig = Compiler::CompileScript( |
- source_string, Handle<String>(), 0, 0, false, |
+ source_string, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kProduceCodeCache, NOT_NATIVES_CODE); |
@@ -1100,7 +1100,7 @@ TEST(SerializeToplevelExternalString) { |
{ |
DisallowCompilation no_compile_expected(isolate); |
copy = Compiler::CompileScript( |
- source_string, Handle<String>(), 0, 0, false, |
+ source_string, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kConsumeCodeCache, NOT_NATIVES_CODE); |
} |
@@ -1154,7 +1154,7 @@ TEST(SerializeToplevelLargeExternalString) { |
ScriptData* cache = NULL; |
Handle<SharedFunctionInfo> orig = Compiler::CompileScript( |
- source_str, Handle<String>(), 0, 0, false, |
+ source_str, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kProduceCodeCache, NOT_NATIVES_CODE); |
@@ -1162,7 +1162,7 @@ TEST(SerializeToplevelLargeExternalString) { |
{ |
DisallowCompilation no_compile_expected(isolate); |
copy = Compiler::CompileScript( |
- source_str, Handle<String>(), 0, 0, false, |
+ source_str, Handle<String>(), 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kConsumeCodeCache, NOT_NATIVES_CODE); |
} |
@@ -1208,7 +1208,7 @@ TEST(SerializeToplevelExternalScriptName) { |
ScriptData* cache = NULL; |
Handle<SharedFunctionInfo> orig = Compiler::CompileScript( |
- source_string, name, 0, 0, false, |
+ source_string, name, 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kProduceCodeCache, NOT_NATIVES_CODE); |
@@ -1216,7 +1216,7 @@ TEST(SerializeToplevelExternalScriptName) { |
{ |
DisallowCompilation no_compile_expected(isolate); |
copy = Compiler::CompileScript( |
- source_string, name, 0, 0, false, |
+ source_string, name, 0, 0, false, false, |
Handle<Context>(isolate->native_context()), NULL, &cache, |
v8::ScriptCompiler::kConsumeCodeCache, NOT_NATIVES_CODE); |
} |