| Index: src/x64/macro-assembler-x64.cc
|
| diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc
|
| index c3d182478d968b3a411b9543eca189dc71bbb2bd..5a3e6db59191731d78094ee54c0e508eadf17cfc 100644
|
| --- a/src/x64/macro-assembler-x64.cc
|
| +++ b/src/x64/macro-assembler-x64.cc
|
| @@ -4304,21 +4304,6 @@ void MacroAssembler::Allocate(Register object_size,
|
| }
|
|
|
|
|
| -void MacroAssembler::UndoAllocationInNewSpace(Register object) {
|
| - ExternalReference new_space_allocation_top =
|
| - ExternalReference::new_space_allocation_top_address(isolate());
|
| -
|
| - // Make sure the object has no tag before resetting top.
|
| - andp(object, Immediate(~kHeapObjectTagMask));
|
| - Operand top_operand = ExternalOperand(new_space_allocation_top);
|
| -#ifdef DEBUG
|
| - cmpp(object, top_operand);
|
| - Check(below, kUndoAllocationOfNonAllocatedMemory);
|
| -#endif
|
| - movp(top_operand, object);
|
| -}
|
| -
|
| -
|
| void MacroAssembler::AllocateHeapNumber(Register result,
|
| Register scratch,
|
| Label* gc_required,
|
|
|