Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index e3c8c148ab53b55274a71ec048ab3603e579fdb0..8342f9f7ea1d7c64a5fc3ad7f395dd6dd7f0c215 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -539,14 +539,9 @@ Handle<Code> CreateAllocationSiteStub::GenerateCode() { |
template <> |
HValue* CodeStubGraphBuilder<KeyedLoadFastElementStub>::BuildCodeStub() { |
HInstruction* load = BuildUncheckedMonomorphicElementAccess( |
- GetParameter(KeyedLoadIC::kReceiverIndex), |
- GetParameter(KeyedLoadIC::kNameIndex), |
- NULL, |
- casted_stub()->is_js_array(), |
- casted_stub()->elements_kind(), |
- LOAD, |
- NEVER_RETURN_HOLE, |
- STANDARD_STORE); |
+ GetParameter(0), GetParameter(1), NULL, |
+ casted_stub()->is_js_array(), casted_stub()->elements_kind(), |
+ LOAD, NEVER_RETURN_HOLE, STANDARD_STORE); |
return load; |
} |
@@ -1376,8 +1371,8 @@ Handle<Code> FastNewContextStub::GenerateCode() { |
template<> |
HValue* CodeStubGraphBuilder<KeyedLoadDictionaryElementStub>::BuildCodeStub() { |
- HValue* receiver = GetParameter(KeyedLoadIC::kReceiverIndex); |
- HValue* key = GetParameter(KeyedLoadIC::kNameIndex); |
+ HValue* receiver = GetParameter(0); |
+ HValue* key = GetParameter(1); |
Add<HCheckSmi>(key); |
@@ -1509,8 +1504,8 @@ void CodeStubGraphBuilder< |
HValue* CodeStubGraphBuilder<KeyedLoadGenericElementStub>::BuildCodeStub() { |
- HValue* receiver = GetParameter(KeyedLoadIC::kReceiverIndex); |
- HValue* key = GetParameter(KeyedLoadIC::kNameIndex); |
+ HValue* receiver = GetParameter(0); |
+ HValue* key = GetParameter(1); |
// Split into a smi/integer case and unique string case. |
HIfContinuation index_name_split_continuation(graph()->CreateBasicBlock(), |