Index: test/cctest/test-transitions.cc |
diff --git a/test/cctest/test-transitions.cc b/test/cctest/test-transitions.cc |
index 8834f9ade1e03a5b83a09a8075430d1e48da5073..e3d5193435cc6f6ab65f50469a997f20a10377c0 100644 |
--- a/test/cctest/test-transitions.cc |
+++ b/test/cctest/test-transitions.cc |
@@ -51,13 +51,13 @@ TEST(TransitionArray_SimpleFieldTransitions) { |
Handle<Map> map0 = Map::Create(isolate, 0); |
Handle<Map> map1 = |
- Map::CopyWithField(map0, name1, handle(HeapType::Any(), isolate), |
- attributes, Representation::Tagged(), |
- OMIT_TRANSITION).ToHandleChecked(); |
+ Map::CopyWithField(map0, name1, handle(FieldType::Any(), isolate), |
+ attributes, Representation::Tagged(), OMIT_TRANSITION) |
+ .ToHandleChecked(); |
Handle<Map> map2 = |
- Map::CopyWithField(map0, name2, handle(HeapType::Any(), isolate), |
- attributes, Representation::Tagged(), |
- OMIT_TRANSITION).ToHandleChecked(); |
+ Map::CopyWithField(map0, name2, handle(FieldType::Any(), isolate), |
+ attributes, Representation::Tagged(), OMIT_TRANSITION) |
+ .ToHandleChecked(); |
CHECK(map0->raw_transitions()->IsSmi()); |
@@ -102,13 +102,13 @@ TEST(TransitionArray_FullFieldTransitions) { |
Handle<Map> map0 = Map::Create(isolate, 0); |
Handle<Map> map1 = |
- Map::CopyWithField(map0, name1, handle(HeapType::Any(), isolate), |
- attributes, Representation::Tagged(), |
- OMIT_TRANSITION).ToHandleChecked(); |
+ Map::CopyWithField(map0, name1, handle(FieldType::Any(), isolate), |
+ attributes, Representation::Tagged(), OMIT_TRANSITION) |
+ .ToHandleChecked(); |
Handle<Map> map2 = |
- Map::CopyWithField(map0, name2, handle(HeapType::Any(), isolate), |
- attributes, Representation::Tagged(), |
- OMIT_TRANSITION).ToHandleChecked(); |
+ Map::CopyWithField(map0, name2, handle(FieldType::Any(), isolate), |
+ attributes, Representation::Tagged(), OMIT_TRANSITION) |
+ .ToHandleChecked(); |
CHECK(map0->raw_transitions()->IsSmi()); |
@@ -159,10 +159,10 @@ TEST(TransitionArray_DifferentFieldNames) { |
EmbeddedVector<char, 64> buffer; |
SNPrintF(buffer, "prop%d", i); |
Handle<String> name = factory->InternalizeUtf8String(buffer.start()); |
- Handle<Map> map = |
- Map::CopyWithField(map0, name, handle(HeapType::Any(), isolate), |
- attributes, Representation::Tagged(), |
- OMIT_TRANSITION).ToHandleChecked(); |
+ Handle<Map> map = Map::CopyWithField( |
+ map0, name, handle(FieldType::Any(), isolate), |
+ attributes, Representation::Tagged(), OMIT_TRANSITION) |
+ .ToHandleChecked(); |
names[i] = name; |
maps[i] = map; |
@@ -208,10 +208,10 @@ TEST(TransitionArray_SameFieldNamesDifferentAttributesSimple) { |
for (int i = 0; i < ATTRS_COUNT; i++) { |
PropertyAttributes attributes = static_cast<PropertyAttributes>(i); |
- Handle<Map> map = |
- Map::CopyWithField(map0, name, handle(HeapType::Any(), isolate), |
- attributes, Representation::Tagged(), |
- OMIT_TRANSITION).ToHandleChecked(); |
+ Handle<Map> map = Map::CopyWithField( |
+ map0, name, handle(FieldType::Any(), isolate), |
+ attributes, Representation::Tagged(), OMIT_TRANSITION) |
+ .ToHandleChecked(); |
attr_maps[i] = map; |
TransitionArray::Insert(map0, name, map, PROPERTY_TRANSITION); |
@@ -252,9 +252,9 @@ TEST(TransitionArray_SameFieldNamesDifferentAttributes) { |
SNPrintF(buffer, "prop%d", i); |
Handle<String> name = factory->InternalizeUtf8String(buffer.start()); |
Handle<Map> map = |
- Map::CopyWithField(map0, name, handle(HeapType::Any(), isolate), NONE, |
- Representation::Tagged(), |
- OMIT_TRANSITION).ToHandleChecked(); |
+ Map::CopyWithField(map0, name, handle(FieldType::Any(), isolate), NONE, |
+ Representation::Tagged(), OMIT_TRANSITION) |
+ .ToHandleChecked(); |
names[i] = name; |
maps[i] = map; |
@@ -270,10 +270,10 @@ TEST(TransitionArray_SameFieldNamesDifferentAttributes) { |
for (int i = 0; i < ATTRS_COUNT; i++) { |
PropertyAttributes attributes = static_cast<PropertyAttributes>(i); |
- Handle<Map> map = |
- Map::CopyWithField(map0, name, handle(HeapType::Any(), isolate), |
- attributes, Representation::Tagged(), |
- OMIT_TRANSITION).ToHandleChecked(); |
+ Handle<Map> map = Map::CopyWithField( |
+ map0, name, handle(FieldType::Any(), isolate), |
+ attributes, Representation::Tagged(), OMIT_TRANSITION) |
+ .ToHandleChecked(); |
attr_maps[i] = map; |
TransitionArray::Insert(map0, name, map, PROPERTY_TRANSITION); |