Index: src/lithium-allocator-inl.h |
diff --git a/src/lithium-allocator-inl.h b/src/lithium-allocator-inl.h |
index a6d053aa72c2bf553c258b507fea6808d239121e..8cca19b2efa738c927ed51156faa24373ecd1e49 100644 |
--- a/src/lithium-allocator-inl.h |
+++ b/src/lithium-allocator-inl.h |
@@ -148,14 +148,13 @@ void UseIterator::Advance() { |
void LAllocator::SetLiveRangeAssignedRegister( |
LiveRange* range, |
int reg, |
- RegisterKind register_kind, |
- Zone* zone) { |
+ RegisterKind register_kind) { |
if (register_kind == DOUBLE_REGISTERS) { |
assigned_double_registers_->Add(reg); |
} else { |
assigned_registers_->Add(reg); |
} |
- range->set_assigned_register(reg, register_kind, zone); |
+ range->set_assigned_register(reg, register_kind, chunk()->zone()); |
} |