Index: src/field-index-inl.h |
diff --git a/src/field-index-inl.h b/src/field-index-inl.h |
index c2f25bb7f047f0edf236424c7d34a8d06214a337..f79394824fbbc9187ce68d24560b89e83d9ebec3 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 { |
@@ -89,7 +88,7 @@ |
// FieldIndex object from it. |
// static |
inline FieldIndex FieldIndex::ForLoadByFieldOffset(Map* map, int offset) { |
- DCHECK(LoadHandlerTypeBit::decode(offset) == kLoadICHandlerForProperties); |
+ DCHECK(offset & 1); // Property marker (as opposed to element). |
bool is_inobject = FieldOffsetIsInobject::decode(offset); |
bool is_double = FieldOffsetIsDouble::decode(offset); |
int field_index = FieldOffsetOffset::decode(offset) >> kPointerSizeLog2; |
@@ -115,7 +114,7 @@ |
return FieldOffsetIsInobject::encode(is_inobject()) | |
FieldOffsetIsDouble::encode(is_double()) | |
FieldOffsetOffset::encode(index() << kPointerSizeLog2) | |
- LoadHandlerTypeBit::encode(kLoadICHandlerForProperties); |
+ 1; // Property marker (as opposed to element). |
} |
inline FieldIndex FieldIndex::ForDescriptor(Map* map, int descriptor_index) { |