Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 71a6b4a92a796f81ba3c78c4174e2dfc793b1ebf..99faa9263415390d1757e8ec7694b8a2296bf6ac 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -838,36 +838,6 @@ Handle<Code> FastFunctionBindStub::GenerateCode() { |
} |
template <> |
-HValue* CodeStubGraphBuilder<GrowArrayElementsStub>::BuildCodeStub() { |
- ElementsKind kind = casted_stub()->elements_kind(); |
- if (IsFastDoubleElementsKind(kind)) { |
- info()->MarkAsSavesCallerDoubles(); |
- } |
- |
- HValue* object = GetParameter(Descriptor::kObject); |
- HValue* key = GetParameter(Descriptor::kKey); |
- |
- HValue* elements = AddLoadElements(object); |
- HValue* current_capacity = Add<HLoadNamedField>( |
- elements, nullptr, HObjectAccess::ForFixedArrayLength()); |
- |
- 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() { |
LoadKeyedHoleMode hole_mode = casted_stub()->convert_hole_to_undefined() |
? CONVERT_HOLE_TO_UNDEFINED |