Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 9f52569ccf60fa1a03a7a6aafc178f991a22b6d6..611610e6faccaf66e09bd3f7e9f1410d8678fd5d 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -5192,6 +5192,10 @@ class HObjectAccess { |
return HObjectAccess(kInobject, JSObject::kPropertiesOffset); |
} |
+ static HObjectAccess ForPrototypeOrInitialMap() { |
+ return HObjectAccess(kInobject, JSFunction::kPrototypeOrInitialMapOffset); |
+ } |
+ |
static HObjectAccess ForMap() { |
return HObjectAccess(kMaps, JSObject::kMapOffset); |
} |