Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index f554b0c1efc84757d5edc7bd2923272dc1522598..36671fd43b699235625960ce3c8c4a5e1e3d35cb 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3514,26 +3514,6 @@ void MacroAssembler::Allocate(Register object_size, |
} |
-void MacroAssembler::UndoAllocationInNewSpace(Register object, |
- Register scratch) { |
- ExternalReference new_space_allocation_top = |
- ExternalReference::new_space_allocation_top_address(isolate()); |
- |
- // Make sure the object has no tag before resetting top. |
- And(object, object, Operand(~kHeapObjectTagMask)); |
-#ifdef DEBUG |
- // Check that the object un-allocated is below the current top. |
- li(scratch, Operand(new_space_allocation_top)); |
- lw(scratch, MemOperand(scratch)); |
- Check(less, kUndoAllocationOfNonAllocatedMemory, |
- object, Operand(scratch)); |
-#endif |
- // Write the address of the object to un-allocate as the current top. |
- li(scratch, Operand(new_space_allocation_top)); |
- sw(object, MemOperand(scratch)); |
-} |
- |
- |
void MacroAssembler::AllocateTwoByteString(Register result, |
Register length, |
Register scratch1, |