Index: src/field-index-inl.h |
diff --git a/src/field-index-inl.h b/src/field-index-inl.h |
index 5ab02a5df4e7c9e6a05d0481f45bd651eb6455ce..a728eb39df55390342ba450f8079d1f9e6178fb5 100644 |
--- a/src/field-index-inl.h |
+++ b/src/field-index-inl.h |
@@ -92,30 +92,10 @@ inline FieldIndex FieldIndex::ForDescriptor(Map* map, int descriptor_index) { |
details.representation().IsDouble()); |
} |
- |
-inline FieldIndex FieldIndex::ForKeyedLookupCacheIndex(Map* map, int index) { |
- if (FLAG_compiled_keyed_generic_loads) { |
- return ForLoadByFieldIndex(map, index); |
- } else { |
- return ForPropertyIndex(map, index); |
- } |
-} |
- |
- |
inline FieldIndex FieldIndex::FromFieldAccessStubKey(int key) { |
return FieldIndex(key); |
} |
- |
-inline int FieldIndex::GetKeyedLookupCacheIndex() const { |
- if (FLAG_compiled_keyed_generic_loads) { |
- return GetLoadByFieldIndex(); |
- } else { |
- return property_index(); |
- } |
-} |
- |
- |
} // namespace internal |
} // namespace v8 |