| Index: src/x64/lithium-x64.h
|
| diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h
|
| index af0b29991c5c98a7cd93c71478a83772358c55f0..38fa5d5b7066e772c5739e6f8aac0ce77450f677 100644
|
| --- a/src/x64/lithium-x64.h
|
| +++ b/src/x64/lithium-x64.h
|
| @@ -335,7 +335,9 @@ class LGap: public LTemplateInstruction<0, 0, 0> {
|
| };
|
|
|
| LParallelMove* GetOrCreateParallelMove(InnerPosition pos) {
|
| - if (parallel_moves_[pos] == NULL) parallel_moves_[pos] = new LParallelMove;
|
| + if (parallel_moves_[pos] == NULL) {
|
| + parallel_moves_[pos] = new LParallelMove(block_->zone());
|
| + }
|
| return parallel_moves_[pos];
|
| }
|
|
|
| @@ -1926,9 +1928,9 @@ class LChunk: public ZoneObject {
|
| : spill_slot_count_(0),
|
| info_(info),
|
| graph_(graph),
|
| - instructions_(32),
|
| - pointer_maps_(8),
|
| - inlined_closures_(1) { }
|
| + instructions_(graph->zone(), 32),
|
| + pointer_maps_(graph->zone(), 8),
|
| + inlined_closures_(graph->zone(), 1) { }
|
|
|
| void AddInstruction(LInstruction* instruction, HBasicBlock* block);
|
| LConstantOperand* DefineConstantOperand(HConstant* constant);
|
|
|