| Index: src/lithium.h
|
| diff --git a/src/lithium.h b/src/lithium.h
|
| index 6010b777ed130d5e23ae34e4b886c62e58d753dc..5d006c92e3d72f71b3708192b3b0c785e05afaf6 100644
|
| --- a/src/lithium.h
|
| +++ b/src/lithium.h
|
| @@ -387,7 +387,7 @@ class LDoubleRegister: public LOperand {
|
|
|
| class LParallelMove : public ZoneObject {
|
| public:
|
| - LParallelMove() : move_operands_(4) { }
|
| + explicit LParallelMove(Zone* zone) : move_operands_(zone, 4) { }
|
|
|
| void AddMove(LOperand* from, LOperand* to) {
|
| move_operands_.Add(LMoveOperands(from, to));
|
| @@ -408,8 +408,10 @@ class LParallelMove : public ZoneObject {
|
|
|
| class LPointerMap: public ZoneObject {
|
| public:
|
| - explicit LPointerMap(int position)
|
| - : pointer_operands_(8), position_(position), lithium_position_(-1) { }
|
| + LPointerMap(Zone* zone, int position)
|
| + : pointer_operands_(zone, 8),
|
| + position_(position),
|
| + lithium_position_(-1) { }
|
|
|
| const ZoneList<LOperand*>* operands() const { return &pointer_operands_; }
|
| int position() const { return position_; }
|
| @@ -444,8 +446,8 @@ class LEnvironment: public ZoneObject {
|
| translation_index_(-1),
|
| ast_id_(ast_id),
|
| parameter_count_(parameter_count),
|
| - values_(value_count),
|
| - representations_(value_count),
|
| + values_(closure->GetIsolate()->zone(), value_count),
|
| + representations_(closure->GetIsolate()->zone(), value_count),
|
| spilled_registers_(NULL),
|
| spilled_double_registers_(NULL),
|
| outer_(outer) {
|
|
|