Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 4ad2a5b92d0a98264bddd91c69f61eb0c8e084ba..905c4b7ff3669926f2cff218928f1ed0bf82eecb 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -185,7 +185,7 @@ template <class Stub> |
static Handle<Code> DoGenerateCode(Stub* stub) { |
CodeStubGraphBuilder<Stub> builder(stub); |
LChunk* chunk = OptimizeGraph(builder.CreateGraph()); |
- return chunk->Codegen(Code::COMPILED_STUB); |
+ return chunk->Codegen(); |
} |
@@ -249,7 +249,7 @@ HValue* CodeStubGraphBuilder<FastCloneShallowArrayStub>::BuildCodeStub() { |
Handle<Code> FastCloneShallowArrayStub::GenerateCode() { |
CodeStubGraphBuilder<FastCloneShallowArrayStub> builder(this); |
LChunk* chunk = OptimizeGraph(builder.CreateGraph()); |
- return chunk->Codegen(Code::COMPILED_STUB); |
+ return chunk->Codegen(); |
} |