Index: test/cctest/test-field-type-tracking.cc |
diff --git a/test/cctest/test-field-type-tracking.cc b/test/cctest/test-field-type-tracking.cc |
index 072284183bc1151a9894a1aae7d6280dcb698fb2..b3f8cc5ab47747eec71826c625b07f2ab5b770a9 100644 |
--- a/test/cctest/test-field-type-tracking.cc |
+++ b/test/cctest/test-field-type-tracking.cc |
@@ -401,15 +401,8 @@ class Expectations { |
int descriptor = |
map->instance_descriptors()->SearchWithCache(isolate, *name, *map); |
- map = Map::TransitionToAccessorProperty( |
- map, name, descriptor, ACCESSOR_GETTER, getter, attributes); |
- CHECK(!map->is_deprecated()); |
- CHECK(!map->is_dictionary_map()); |
- |
- descriptor = |
- map->instance_descriptors()->SearchWithCache(isolate, *name, *map); |
- map = Map::TransitionToAccessorProperty( |
- map, name, descriptor, ACCESSOR_SETTER, setter, attributes); |
+ map = Map::TransitionToAccessorProperty(isolate, map, name, descriptor, |
+ getter, setter, attributes); |
CHECK(!map->is_deprecated()); |
CHECK(!map->is_dictionary_map()); |
return map; |