Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index c8ea07da29b0e7293bafb9fff7fcef71a03dbe3c..b3899826167c13243cc4433ac281ee3d12066449 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -2205,29 +2205,4 @@ Handle<Code> KeyedLoadGenericStub::GenerateCode() { |
return DoGenerateCode(this); |
} |
- |
-Handle<Code> MegamorphicLoadStub::GenerateCode() { |
- return DoGenerateCode(this); |
-} |
- |
- |
-template <> |
-HValue* CodeStubGraphBuilder<MegamorphicLoadStub>::BuildCodeStub() { |
- HValue* receiver = GetParameter(LoadDescriptor::kReceiverIndex); |
- HValue* name = GetParameter(LoadDescriptor::kNameIndex); |
- |
- // We shouldn't generate this when FLAG_vector_ics is true because the |
- // megamorphic case is handled as part of the default stub. |
- DCHECK(!FLAG_vector_ics); |
- |
- // This stub tail calls, and an erected frame presents complications we don't |
- // need. |
- info()->MarkMustNotHaveEagerFrame(); |
- |
- // Probe the stub cache. |
- Add<HTailCallThroughMegamorphicCache>(receiver, name); |
- |
- // We never continue. |
- return graph()->GetConstant0(); |
-} |
} } // namespace v8::internal |