Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index a9cd5b4691c1f3051100ca89742404548bd8d45e..f66670bfe996f4d0bbcc62ef1b104667c3d65ce5 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -548,31 +548,6 @@ Handle<Code> StoreScriptContextFieldStub::GenerateCode() { |
template <> |
-HValue* CodeStubGraphBuilder<GrowArrayElementsStub>::BuildCodeStub() { |
- HValue* object = GetParameter(GrowArrayElementsDescriptor::kObjectIndex); |
- HValue* key = GetParameter(GrowArrayElementsDescriptor::kKeyIndex); |
- HValue* current_capacity = |
- GetParameter(GrowArrayElementsDescriptor::kCapacityIndex); |
- ElementsKind kind = casted_stub()->elements_kind(); |
- |
- HValue* elements = AddLoadElements(object); |
- HValue* length = |
- casted_stub()->is_js_array() |
- ? Add<HLoadNamedField>(object, static_cast<HValue*>(NULL), |
- HObjectAccess::ForArrayLength(kind)) |
- : current_capacity; |
- |
- return BuildCheckAndGrowElementsCapacity(object, elements, kind, length, |
- current_capacity, key); |
-} |
- |
- |
-Handle<Code> GrowArrayElementsStub::GenerateCode() { |
- return DoGenerateCode(this); |
-} |
- |
- |
-template <> |
HValue* CodeStubGraphBuilder<LoadFastElementStub>::BuildCodeStub() { |
HInstruction* load = BuildUncheckedMonomorphicElementAccess( |
GetParameter(LoadDescriptor::kReceiverIndex), |