| Index: src/x87/macro-assembler-x87.cc
|
| diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc
|
| index 46c1830c05ba49f374b6f98419be7711044c48c1..5555e5f92047643d47b29e37eba0ffa5e10c75d0 100644
|
| --- a/src/x87/macro-assembler-x87.cc
|
| +++ b/src/x87/macro-assembler-x87.cc
|
| @@ -1460,20 +1460,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.
|
| - and_(object, Immediate(~kHeapObjectTagMask));
|
| -#ifdef DEBUG
|
| - cmp(object, Operand::StaticVariable(new_space_allocation_top));
|
| - Check(below, kUndoAllocationOfNonAllocatedMemory);
|
| -#endif
|
| - mov(Operand::StaticVariable(new_space_allocation_top), object);
|
| -}
|
| -
|
| -
|
| void MacroAssembler::AllocateHeapNumber(Register result,
|
| Register scratch1,
|
| Register scratch2,
|
|
|