Index: src/field-index-inl.h |
diff --git a/src/field-index-inl.h b/src/field-index-inl.h |
index 5508adb16193a13030b33190e16a9aefc0211916..198422feef4b65f21c7f5c14cc867cc306fb1ff9 100644 |
--- a/src/field-index-inl.h |
+++ b/src/field-index-inl.h |
@@ -110,6 +110,11 @@ inline FieldIndex FieldIndex::ForKeyedLookupCacheIndex(Map* map, int index) { |
} |
+inline FieldIndex FieldIndex::FromFieldAccessStubKey(int key) { |
+ return FieldIndex(key); |
+} |
+ |
+ |
inline int FieldIndex::GetKeyedLookupCacheIndex() const { |
if (FLAG_compiled_keyed_generic_loads) { |
return GetLoadByFieldIndex(); |