Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 55a3b2ff40d247e73d1c7fdf1d1c8d7c9751d708..3b5f58ab2ecf2d61a07ea2b5fdcd0b64402a435a 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1865,9 +1865,7 @@ bool DescriptorArray::IsProperty(int descriptor_number) { |
bool DescriptorArray::IsTransition(int descriptor_number) { |
- PropertyType t = GetType(descriptor_number); |
- return t == MAP_TRANSITION || t == CONSTANT_TRANSITION || |
- t == ELEMENTS_TRANSITION; |
+ return IsTransitionType(GetType(descriptor_number)); |
} |