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

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

Issue 2065453002: [module] Track script "module code" status Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Extend compilation cache to recognize module code Created 4 years, 6 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
Index: test/cctest/heap/test-heap.cc
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc
index 8fbe9963b1e749bf44c0474f5985c58cf0464ca9..6b8dd4a6be527e6f097da6b5a2e43141f4223c41 100644
--- a/test/cctest/heap/test-heap.cc
+++ b/test/cctest/heap/test-heap.cc
@@ -1631,7 +1631,7 @@ TEST(CompilationCacheCachingBehavior) {
MaybeHandle<SharedFunctionInfo> info = compilation_cache->LookupScript(
source, Handle<Object>(), 0, 0,
v8::ScriptOriginOptions(false, true, false), native_context,
- language_mode);
+ language_mode, false);
CHECK(!info.is_null());
// Check that the code cache entry survives at least on GC.
@@ -1642,7 +1642,7 @@ TEST(CompilationCacheCachingBehavior) {
info = compilation_cache->LookupScript(
source, Handle<Object>(), 0, 0,
v8::ScriptOriginOptions(false, true, false), native_context,
- language_mode);
+ language_mode, false);
CHECK(!info.is_null());
}
@@ -1661,7 +1661,7 @@ TEST(CompilationCacheCachingBehavior) {
info = compilation_cache->LookupScript(
source, Handle<Object>(), 0, 0,
v8::ScriptOriginOptions(false, true, false), native_context,
- language_mode);
+ language_mode, false);
mike3 2016/06/19 17:11:41 Does this repetition justify a dedicated "not modu
vogelheim 2016/06/23 14:53:20 IMHO, no. I'd suspect that most callers of LookupS
mike3 2016/06/25 19:31:45 Acknowledged.
CHECK(info.is_null());
}
« src/objects.cc ('K') | « src/parsing/parser.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698