| Index: src/code-stubs-hydrogen.cc
|
| diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
|
| index bdd168b690fb79d57f4333a72c6e2397a34b4ba0..547820c7f6c596d90adcce693defbf960001db16 100644
|
| --- a/src/code-stubs-hydrogen.cc
|
| +++ b/src/code-stubs-hydrogen.cc
|
| @@ -1077,10 +1077,10 @@ Handle<Code> StoreGlobalStub::GenerateCode() {
|
|
|
| template<>
|
| HValue* CodeStubGraphBuilder<ElementsTransitionAndStoreStub>::BuildCodeStub() {
|
| - HValue* value = GetParameter(0);
|
| - HValue* map = GetParameter(1);
|
| - HValue* key = GetParameter(2);
|
| - HValue* object = GetParameter(3);
|
| + HValue* value = GetParameter(ElementsTransitionAndStoreStub::kValueIndex);
|
| + HValue* map = GetParameter(ElementsTransitionAndStoreStub::kMapIndex);
|
| + HValue* key = GetParameter(ElementsTransitionAndStoreStub::kKeyIndex);
|
| + HValue* object = GetParameter(ElementsTransitionAndStoreStub::kObjectIndex);
|
|
|
| if (FLAG_trace_elements_transitions) {
|
| // Tracing elements transitions is the job of the runtime.
|
|
|