Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index c0ab7e9e5a17cdb243db3224d5636aef572e8880..f6ae893b398d8433015e321584e03976f3898055 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -2455,6 +2455,23 @@ class ElementsTransitionAndStoreStub : public HydrogenCodeStub { |
virtual void InitializeInterfaceDescriptor( |
CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE; |
+ enum RegisterInfo { |
+ kValueIndex, |
+ kMapIndex, |
+ kKeyIndex, |
+ kObjectIndex, |
+ kRegisterArgumentCount |
+ }; |
+ |
+ static const Register ValueRegister() { |
+ return KeyedStoreIC::ValueRegister(); |
+ } |
+ static const Register MapRegister() { return KeyedStoreIC::MapRegister(); } |
+ static const Register KeyRegister() { return KeyedStoreIC::NameRegister(); } |
+ static const Register ObjectRegister() { |
+ return KeyedStoreIC::ReceiverRegister(); |
+ } |
+ |
private: |
class FromBits: public BitField<ElementsKind, 0, 8> {}; |
class ToBits: public BitField<ElementsKind, 8, 8> {}; |