Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 1f8eb3491177cb36e9e3a34717dd143831a77035..cae04507652ceaddab3192641b30c5c80ce4dd58 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -376,25 +376,6 @@ HValue* CodeStubGraphBuilderBase::BuildPushElement(HValue* object, HValue* argc, |
return new_length; |
} |
-template <> |
-HValue* CodeStubGraphBuilder<LoadFastElementStub>::BuildCodeStub() { |
- LoadKeyedHoleMode hole_mode = casted_stub()->convert_hole_to_undefined() |
- ? CONVERT_HOLE_TO_UNDEFINED |
- : NEVER_RETURN_HOLE; |
- |
- HInstruction* load = BuildUncheckedMonomorphicElementAccess( |
- GetParameter(Descriptor::kReceiver), GetParameter(Descriptor::kName), |
- NULL, casted_stub()->is_js_array(), casted_stub()->elements_kind(), LOAD, |
- hole_mode, STANDARD_STORE); |
- return load; |
-} |
- |
- |
-Handle<Code> LoadFastElementStub::GenerateCode() { |
- return DoGenerateCode(this); |
-} |
- |
- |
HLoadNamedField* CodeStubGraphBuilderBase::BuildLoadNamedField( |
HValue* object, FieldIndex index) { |
Representation representation = index.is_double() |
@@ -799,24 +780,5 @@ HValue* CodeStubGraphBuilder<ToBooleanICStub>::BuildCodeInitializedStub() { |
Handle<Code> ToBooleanICStub::GenerateCode() { return DoGenerateCode(this); } |
-template <> |
-HValue* CodeStubGraphBuilder<LoadDictionaryElementStub>::BuildCodeStub() { |
- HValue* receiver = GetParameter(Descriptor::kReceiver); |
- HValue* key = GetParameter(Descriptor::kName); |
- |
- Add<HCheckSmi>(key); |
- |
- HValue* elements = AddLoadElements(receiver); |
- |
- HValue* hash = BuildElementIndexHash(key); |
- |
- return BuildUncheckedDictionaryElementLoad(receiver, elements, key, hash); |
-} |
- |
- |
-Handle<Code> LoadDictionaryElementStub::GenerateCode() { |
- return DoGenerateCode(this); |
-} |
- |
} // namespace internal |
} // namespace v8 |