Index: src/x64/lithium-gap-resolver-x64.cc |
diff --git a/src/x64/lithium-gap-resolver-x64.cc b/src/x64/lithium-gap-resolver-x64.cc |
index 877ea8cd3badb0c6d895166dd2122ff71a35b841..22183a2f8d781df32de5d25b217448149c583c0b 100644 |
--- a/src/x64/lithium-gap-resolver-x64.cc |
+++ b/src/x64/lithium-gap-resolver-x64.cc |
@@ -36,7 +36,7 @@ namespace v8 { |
namespace internal { |
LGapResolver::LGapResolver(LCodeGen* owner) |
- : cgen_(owner), moves_(32) {} |
+ : cgen_(owner), moves_(32, owner->zone()) {} |
void LGapResolver::Resolve(LParallelMove* parallel_move) { |
@@ -74,7 +74,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(); |
} |