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

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

Issue 930983003: Reduce field type tracking to a single stable map per field. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « src/types.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-migrations.cc
diff --git a/test/cctest/test-migrations.cc b/test/cctest/test-migrations.cc
index db03901c3dc0ca659b5990ee19158583fad54eeb..2f7ff8703c7f3187d6640732de6577fa167e18db 100644
--- a/test/cctest/test-migrations.cc
+++ b/test/cctest/test-migrations.cc
@@ -694,7 +694,7 @@ TEST(GeneralizeRepresentationHeapObjectToHeapObject) {
Isolate* isolate = CcTest::i_isolate();
Handle<HeapType> any_type = HeapType::Any(isolate);
- const int kMaxClassesPerFieldType = 5;
+ const int kMaxClassesPerFieldType = 1;
Handle<HeapType> current_type =
HeapType::Class(Map::Create(isolate, 0), isolate);
@@ -1070,7 +1070,7 @@ TEST(ReconfigureDataFieldAttribute_GeneralizeRepresentationHeapObjToHeapObj) {
Isolate* isolate = CcTest::i_isolate();
Handle<HeapType> any_type = HeapType::Any(isolate);
- const int kMaxClassesPerFieldType = 5;
+ const int kMaxClassesPerFieldType = 1;
Handle<HeapType> current_type =
HeapType::Class(Map::Create(isolate, 0), isolate);
« no previous file with comments | « src/types.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698