Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 599e3c6412e2fad6171b4f09b3e5ab0f23d3f24b..8168aac4b861f804be40bd3857c066b380d6a851 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -35,7 +35,7 @@ static LChunk* OptimizeGraph(HGraph* graph) { |
class CodeStubGraphBuilderBase : public HGraphBuilder { |
public: |
- explicit CodeStubGraphBuilderBase(CompilationInfoWithZone* info) |
+ explicit CodeStubGraphBuilderBase(CompilationInfo* info) |
: HGraphBuilder(info), |
arguments_length_(NULL), |
info_(info), |
@@ -107,7 +107,7 @@ class CodeStubGraphBuilderBase : public HGraphBuilder { |
SmartArrayPointer<HParameter*> parameters_; |
HValue* arguments_length_; |
- CompilationInfoWithZone* info_; |
+ CompilationInfo* info_; |
CodeStubDescriptor descriptor_; |
HContext* context_; |
}; |
@@ -190,7 +190,7 @@ bool CodeStubGraphBuilderBase::BuildGraph() { |
template <class Stub> |
class CodeStubGraphBuilder: public CodeStubGraphBuilderBase { |
public: |
- explicit CodeStubGraphBuilder(CompilationInfoWithZone* info) |
+ explicit CodeStubGraphBuilder(CompilationInfo* info) |
: CodeStubGraphBuilderBase(info) {} |
protected: |
@@ -272,7 +272,8 @@ static Handle<Code> DoGenerateCode(Stub* stub) { |
if (FLAG_profile_hydrogen_code_stub_compilation) { |
timer.Start(); |
} |
- CompilationInfoWithZone info(stub, isolate); |
+ Zone zone; |
+ CompilationInfo info(stub, isolate, &zone); |
CodeStubGraphBuilder<Stub> builder(&info); |
LChunk* chunk = OptimizeGraph(builder.CreateGraph()); |
Handle<Code> code = chunk->Codegen(); |
@@ -1711,7 +1712,7 @@ template <> |
class CodeStubGraphBuilder<KeyedLoadGenericStub> |
: public CodeStubGraphBuilderBase { |
public: |
- explicit CodeStubGraphBuilder(CompilationInfoWithZone* info) |
+ explicit CodeStubGraphBuilder(CompilationInfo* info) |
: CodeStubGraphBuilderBase(info) {} |
protected: |