Index: src/arm/lithium-gap-resolver-arm.cc |
diff --git a/src/arm/lithium-gap-resolver-arm.cc b/src/arm/lithium-gap-resolver-arm.cc |
index cefca476ade456d76bc5336e2ec5004a0cf946c0..c100720d89cd6130ad3e3a04a9528c48c045f5f7 100644 |
--- a/src/arm/lithium-gap-resolver-arm.cc |
+++ b/src/arm/lithium-gap-resolver-arm.cc |
@@ -36,7 +36,7 @@ namespace internal { |
static const Register kSavedValueRegister = { 9 }; |
LGapResolver::LGapResolver(LCodeGen* owner) |
- : cgen_(owner), moves_(32), root_index_(0), in_cycle_(false), |
+ : cgen_(owner), moves_(32, owner->zone()), root_index_(0), in_cycle_(false), |
saved_destination_(NULL) { } |
@@ -79,7 +79,7 @@ void LGapResolver::BuildInitialMoveList(LParallelMove* parallel_move) { |
const ZoneList<LMoveOperands>* moves = parallel_move->move_operands(); |
for (int i = 0; i < moves->length(); ++i) { |
LMoveOperands move = moves->at(i); |
- if (!move.IsRedundant()) moves_.Add(move); |
+ if (!move.IsRedundant()) moves_.Add(move, cgen_->zone()); |
} |
Verify(); |
} |