Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 6e43c485fcc6080253d429a423873d78aa336e21..42a151e27afa2c7205600f290328c6cc2748ec80 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -1494,20 +1494,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, |