Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 4fb49b8e087bc96f2c1a66613e937deeb3496bed..1796c126b81e65ade59ffe2fb19a84bf6678f694 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -258,9 +258,7 @@ HValue* CodeStubGraphBuilder<KeyedStoreFastElementStub>::BuildCodeStub() { |
Handle<Code> KeyedStoreFastElementStub::GenerateCode() { |
- CodeStubGraphBuilder<KeyedStoreFastElementStub> builder(this); |
- LChunk* chunk = OptimizeGraph(builder.CreateGraph()); |
- return chunk->Codegen(Code::COMPILED_STUB); |
+ return DoGenerateCode(this); |
} |
@@ -323,6 +321,11 @@ HValue* CodeStubGraphBuilder<TransitionElementsKindStub>::BuildCodeStub() { |
} |
+Handle<Code> TransitionElementsKindStub::GenerateCode() { |
+ return DoGenerateCode(this); |
+} |
+ |
+ |
template <> |
HValue* CodeStubGraphBuilder<ArrayNoArgumentConstructorStub>::BuildCodeStub() { |
HInstruction* deopt = new(zone()) HSoftDeoptimize(); |
@@ -347,11 +350,6 @@ HValue* CodeStubGraphBuilder<ArraySingleArgumentConstructorStub>:: |
} |
-Handle<Code> TransitionElementsKindStub::GenerateCode() { |
- return DoGenerateCode(this); |
-} |
- |
- |
Handle<Code> ArraySingleArgumentConstructorStub::GenerateCode() { |
return DoGenerateCode(this); |
} |