Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index fd515218cb075295830946327624eb0114d4101e..8fcde6b4318856dcec4b4b0089f39e05282537be 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -478,11 +478,6 @@ void MacroAssembler::RecordWrite(Register object, |
SaveFPRegsMode fp_mode, |
RememberedSetAction remembered_set_action, |
SmiCheck smi_check) { |
- // The compiled code assumes that record write doesn't change the |
- // context register, so we check that none of the clobbered |
- // registers are cp. |
- ASSERT(!address.is(cp) && !value.is(cp)); |
- |
if (emit_debug_code()) { |
ldr(ip, MemOperand(address)); |
cmp(ip, value); |