Index: src/field-index.h |
diff --git a/src/field-index.h b/src/field-index.h |
index 2862d36bdb702a9398b2286c298783edd4b074dd..2dace97ca582b0dd39844aec803390ada6f9aeaa 100644 |
--- a/src/field-index.h |
+++ b/src/field-index.h |
@@ -27,10 +27,12 @@ class FieldIndex final { |
static FieldIndex ForInObjectOffset(int offset, Map* map = NULL); |
static FieldIndex ForDescriptor(Map* map, int descriptor_index); |
static FieldIndex ForLoadByFieldIndex(Map* map, int index); |
+ static FieldIndex ForLoadByFieldOffset(Map* map, int index); |
static FieldIndex ForKeyedLookupCacheIndex(Map* map, int index); |
static FieldIndex FromFieldAccessStubKey(int key); |
int GetLoadByFieldIndex() const; |
+ int GetLoadByFieldOffset() const; |
bool is_inobject() const { |
return IsInObjectBits::decode(bit_field_); |