| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 1e40ac5d9c12f6b253f75530812d4f4bc41573ea..f13ad94be14db877c05d6d75e7146eed5fdab08b 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -718,6 +718,7 @@ TYPE_CHECKER(Map, MAP_TYPE)
|
| TYPE_CHECKER(FixedArray, FIXED_ARRAY_TYPE)
|
| TYPE_CHECKER(FixedDoubleArray, FIXED_DOUBLE_ARRAY_TYPE)
|
| TYPE_CHECKER(WeakFixedArray, FIXED_ARRAY_TYPE)
|
| +TYPE_CHECKER(TypeFeedbackVector, FEEDBACK_VECTOR_TYPE)
|
|
|
|
|
| bool Object::IsJSWeakCollection() const {
|
| @@ -743,9 +744,6 @@ bool Object::IsTransitionArray() const {
|
| }
|
|
|
|
|
| -bool Object::IsTypeFeedbackVector() const { return IsFixedArray(); }
|
| -
|
| -
|
| bool Object::IsDeoptimizationInputData() const {
|
| // Must be a fixed array.
|
| if (!IsFixedArray()) return false;
|
| @@ -4111,7 +4109,8 @@ int HeapObject::SizeFromMap(Map* map) {
|
| if (instance_size != kVariableSizeSentinel) return instance_size;
|
| // Only inline the most frequent cases.
|
| InstanceType instance_type = map->instance_type();
|
| - if (instance_type == FIXED_ARRAY_TYPE) {
|
| + if (instance_type == FIXED_ARRAY_TYPE ||
|
| + instance_type == FEEDBACK_VECTOR_TYPE) {
|
| return FixedArray::BodyDescriptor::SizeOf(map, this);
|
| }
|
| if (instance_type == ONE_BYTE_STRING_TYPE ||
|
|
|