Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 386e9a4a754c771028aa3d0424e0cfd62fca42d4..0f91a648b0341a13ab3734ed3772f257b795b63c 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -2873,6 +2873,7 @@ void MacroAssembler::AllocateInNewSpace(Register object_size, |
ASSERT(!result.is(scratch1)); |
ASSERT(!result.is(scratch2)); |
ASSERT(!scratch1.is(scratch2)); |
+ ASSERT(!object_size.is(t9)); |
ASSERT(!scratch1.is(t9) && !scratch2.is(t9) && !result.is(t9)); |
// Check relative positions of allocation top and limit addresses. |