Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 9340b61dd8d7a1fe10c75f1d566c88d8497e5d17..89af2022a89e9772ed4ed1e00ab427807a60f695 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1246,6 +1246,8 @@ void MacroAssembler::AllocateInNewSpace(int object_size, |
ASSERT(!result.is(scratch1)); |
ASSERT(!result.is(scratch2)); |
ASSERT(!scratch1.is(scratch2)); |
+ ASSERT(!scratch1.is(ip)); |
+ ASSERT(!scratch2.is(ip)); |
// Make object size into bytes. |
if ((flags & SIZE_IN_WORDS) != 0) { |