Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 9f18772938f0658ef94434974ed343a7cb4aecf1..b69f58b81c8bfe3f735a3ee0070bd4a169fae580 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -10,6 +10,7 @@ |
#include "src/codegen.h" |
#include "src/globals.h" |
#include "src/ic/ic.h" |
+#include "src/ic/ic-conventions.h" |
#include "src/macro-assembler.h" |
#include "src/ostreams.h" |
@@ -2442,12 +2443,14 @@ class ElementsTransitionAndStoreStub : public HydrogenCodeStub { |
}; |
static const Register ValueRegister() { |
- return KeyedStoreIC::ValueRegister(); |
+ return StoreConvention::ValueRegister(); |
+ } |
+ static const Register MapRegister() { return StoreConvention::MapRegister(); } |
+ static const Register KeyRegister() { |
+ return StoreConvention::NameRegister(); |
} |
- static const Register MapRegister() { return KeyedStoreIC::MapRegister(); } |
- static const Register KeyRegister() { return KeyedStoreIC::NameRegister(); } |
static const Register ObjectRegister() { |
- return KeyedStoreIC::ReceiverRegister(); |
+ return StoreConvention::ReceiverRegister(); |
} |
private: |