| Index: src/ia32/lithium-ia32.h
|
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
|
| index 0daab5f9dcbd3a6b227c409385334c13fbc6a80e..9d1d9a4692bacaed93828f3c49820815c6b1dee8 100644
|
| --- a/src/ia32/lithium-ia32.h
|
| +++ b/src/ia32/lithium-ia32.h
|
| @@ -328,7 +328,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];
|
| }
|
|
|
| @@ -2037,9 +2039,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);
|
|
|