Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 075f07cc353e991fd7969a49725599cb5fcfd45b..e3c4b285f655593c3c31ac6f399351718dbbf5b3 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -309,11 +309,6 @@ void MacroAssembler::RecordWriteField( |
SaveFPRegsMode save_fp, |
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 rsi. |
- ASSERT(!value.is(rsi) && !dst.is(rsi)); |
- |
// First, check if a write barrier is even needed. The tests below |
// catch stores of Smis. |
Label done; |
@@ -390,11 +385,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 rsi. |
- ASSERT(!value.is(rsi) && !address.is(rsi)); |
- |
ASSERT(!object.is(value)); |
ASSERT(!object.is(address)); |
ASSERT(!value.is(address)); |