| Index: src/field-index-inl.h
|
| diff --git a/src/field-index-inl.h b/src/field-index-inl.h
|
| index 15e458cbf1e0ab0e9e9a47174966e619792a862f..5ab02a5df4e7c9e6a05d0481f45bd651eb6455ce 100644
|
| --- a/src/field-index-inl.h
|
| +++ b/src/field-index-inl.h
|
| @@ -6,7 +6,6 @@
|
| #define V8_FIELD_INDEX_INL_H_
|
|
|
| #include "src/field-index.h"
|
| -#include "src/ic/handler-configuration.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -85,16 +84,6 @@ inline int FieldIndex::GetLoadByFieldIndex() const {
|
| return is_double() ? (result | 1) : result;
|
| }
|
|
|
| -// Returns the offset format consumed by TurboFan stubs:
|
| -// (offset << 3) | (is_double << 2) | (is_inobject << 1) | is_property
|
| -// Where |offset| is relative to object start or FixedArray start, respectively.
|
| -inline int FieldIndex::GetLoadByFieldOffset() const {
|
| - return FieldOffsetIsInobject::encode(is_inobject()) |
|
| - FieldOffsetIsDouble::encode(is_double()) |
|
| - FieldOffsetOffset::encode(index() << kPointerSizeLog2) |
|
| - LoadHandlerTypeBit::encode(kLoadICHandlerForProperties);
|
| -}
|
| -
|
| inline FieldIndex FieldIndex::ForDescriptor(Map* map, int descriptor_index) {
|
| PropertyDetails details =
|
| map->instance_descriptors()->GetDetails(descriptor_index);
|
|
|