Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: test/cctest/test-serialize.cc

Issue 879553002: [V8] Added Script::is_debugger_script flag for embedders (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/api.cc ('K') | « test/cctest/test-heap.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« src/api.cc ('K') | « test/cctest/test-heap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698