| Index: src/x64/macro-assembler-x64.cc
|
| ===================================================================
|
| --- src/x64/macro-assembler-x64.cc (revision 5878)
|
| +++ src/x64/macro-assembler-x64.cc (working copy)
|
| @@ -1889,7 +1889,6 @@
|
|
|
|
|
| void MacroAssembler::LoadAllocationTopHelper(Register result,
|
| - Register result_end,
|
| Register scratch,
|
| AllocationFlags flags) {
|
| ExternalReference new_space_allocation_top =
|
| @@ -1911,7 +1910,6 @@
|
| // Move address of new object to result. Use scratch register if available,
|
| // and keep address in scratch until call to UpdateAllocationTopHelper.
|
| if (scratch.is_valid()) {
|
| - ASSERT(!scratch.is(result_end));
|
| movq(scratch, new_space_allocation_top);
|
| movq(result, Operand(scratch, 0));
|
| } else if (result.is(rax)) {
|
| @@ -1972,7 +1970,7 @@
|
| ASSERT(!result.is(result_end));
|
|
|
| // Load address of new object into result.
|
| - LoadAllocationTopHelper(result, result_end, scratch, flags);
|
| + LoadAllocationTopHelper(result, scratch, flags);
|
|
|
| // Calculate new top and bail out if new space is exhausted.
|
| ExternalReference new_space_allocation_limit =
|
| @@ -2029,7 +2027,7 @@
|
| ASSERT(!result.is(result_end));
|
|
|
| // Load address of new object into result.
|
| - LoadAllocationTopHelper(result, result_end, scratch, flags);
|
| + LoadAllocationTopHelper(result, scratch, flags);
|
|
|
| // Calculate new top and bail out if new space is exhausted.
|
| ExternalReference new_space_allocation_limit =
|
| @@ -2071,7 +2069,7 @@
|
| ASSERT(!result.is(result_end));
|
|
|
| // Load address of new object into result.
|
| - LoadAllocationTopHelper(result, result_end, scratch, flags);
|
| + LoadAllocationTopHelper(result, scratch, flags);
|
|
|
| // Calculate new top and bail out if new space is exhausted.
|
| ExternalReference new_space_allocation_limit =
|
|
|