Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index b9ad8af529d82a9f078d61c0d88af6594b61ac64..45983ef0c92b79229bf6208409765bfa1dcc4a9a 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -687,7 +687,7 @@ HGraph::HGraph(CompilationInfo* info) |
} |
-Handle<Code> HGraph::Compile(CompilationInfo* info) { |
+Handle<Code> HGraph::Compile(CompilationInfo* info, Zone* zone) { |
int values = GetMaximumValueID(); |
if (values > LUnallocated::kMaxVirtualRegisters) { |
if (FLAG_trace_bailout) { |
@@ -696,7 +696,7 @@ Handle<Code> HGraph::Compile(CompilationInfo* info) { |
return Handle<Code>::null(); |
} |
LAllocator allocator(values, this); |
- LChunkBuilder builder(info, this, &allocator); |
+ LChunkBuilder builder(info, this, &allocator, info->isolate()->zone()); |
LChunk* chunk = builder.Build(); |
if (chunk == NULL) return Handle<Code>::null(); |
@@ -708,7 +708,7 @@ Handle<Code> HGraph::Compile(CompilationInfo* info) { |
} |
MacroAssembler assembler(info->isolate(), NULL, 0); |
- LCodeGen generator(chunk, &assembler, info); |
+ LCodeGen generator(chunk, &assembler, info, zone); |
chunk->MarkEmptyBlocks(); |