diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h index d8e07f0c97..3124a00cd0 100644 --- a/src/arm/macro-assembler-arm.h +++ b/src/arm/macro-assembler-arm.h @@ -663,20 +663,6 @@ class MacroAssembler : public TurboAssembler { PointersToHereCheck pointers_to_here_check_for_value = kPointersToHereMaybeInteresting); - // As above, but the offset has the tag presubtracted. For use with - // MemOperand(reg, off). - inline void RecordWriteContextSlot( - Register context, int offset, Register value, Register scratch, - LinkRegisterStatus lr_status, SaveFPRegsMode save_fp, - RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, - SmiCheck smi_check = INLINE_SMI_CHECK, - PointersToHereCheck pointers_to_here_check_for_value = - kPointersToHereMaybeInteresting) { - RecordWriteField(context, offset + kHeapObjectTag, value, scratch, - lr_status, save_fp, remembered_set_action, smi_check, - pointers_to_here_check_for_value); - } - // For a given |object| notify the garbage collector that the slot |address| // has been written. |value| is the object being stored. The value and // address registers are clobbered by the operation. diff --git a/src/arm64/macro-assembler-arm64.h b/src/arm64/macro-assembler-arm64.h index 7fea7ef5ee..1ac6c5e9bf 100644 --- a/src/arm64/macro-assembler-arm64.h +++ b/src/arm64/macro-assembler-arm64.h @@ -2109,30 +2109,6 @@ class MacroAssembler : public TurboAssembler { PointersToHereCheck pointers_to_here_check_for_value = kPointersToHereMaybeInteresting); - // As above, but the offset has the tag presubtracted. For use with - // MemOperand(reg, off). - inline void RecordWriteContextSlot( - Register context, - int offset, - Register value, - Register scratch, - LinkRegisterStatus lr_status, - SaveFPRegsMode save_fp, - RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, - SmiCheck smi_check = INLINE_SMI_CHECK, - PointersToHereCheck pointers_to_here_check_for_value = - kPointersToHereMaybeInteresting) { - RecordWriteField(context, - offset + kHeapObjectTag, - value, - scratch, - lr_status, - save_fp, - remembered_set_action, - smi_check, - pointers_to_here_check_for_value); - } - // For a given |object| notify the garbage collector that the slot |address| // has been written. |value| is the object being stored. The value and // address registers are clobbered by the operation. diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h index ef814fd7d5..5013420ab1 100644 --- a/src/ia32/macro-assembler-ia32.h +++ b/src/ia32/macro-assembler-ia32.h @@ -430,20 +430,6 @@ class MacroAssembler : public TurboAssembler { PointersToHereCheck pointers_to_here_check_for_value = kPointersToHereMaybeInteresting); - // As above, but the offset has the tag presubtracted. For use with - // Operand(reg, off). - void RecordWriteContextSlot( - Register context, int offset, Register value, Register scratch, - SaveFPRegsMode save_fp, - RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, - SmiCheck smi_check = INLINE_SMI_CHECK, - PointersToHereCheck pointers_to_here_check_for_value = - kPointersToHereMaybeInteresting) { - RecordWriteField(context, offset + kHeapObjectTag, value, scratch, save_fp, - remembered_set_action, smi_check, - pointers_to_here_check_for_value); - } - // Notify the garbage collector that we wrote a pointer into a fixed array. // |array| is the array being stored into, |value| is the // object being stored. |index| is the array index represented as a diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h index 2c70b80836..a319d4a94c 100644 --- a/src/mips/macro-assembler-mips.h +++ b/src/mips/macro-assembler-mips.h @@ -1005,20 +1005,6 @@ class MacroAssembler : public TurboAssembler { PointersToHereCheck pointers_to_here_check_for_value = kPointersToHereMaybeInteresting); - // As above, but the offset has the tag presubtracted. For use with - // MemOperand(reg, off). - inline void RecordWriteContextSlot( - Register context, int offset, Register value, Register scratch, - RAStatus ra_status, SaveFPRegsMode save_fp, - RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, - SmiCheck smi_check = INLINE_SMI_CHECK, - PointersToHereCheck pointers_to_here_check_for_value = - kPointersToHereMaybeInteresting) { - RecordWriteField(context, offset + kHeapObjectTag, value, scratch, - ra_status, save_fp, remembered_set_action, smi_check, - pointers_to_here_check_for_value); - } - // For a given |object| notify the garbage collector that the slot |address| // has been written. |value| is the object being stored. The value and // address registers are clobbered by the operation. diff --git a/src/mips64/macro-assembler-mips64.h b/src/mips64/macro-assembler-mips64.h index c8e8231c4a..bf9d1e3c3d 100644 --- a/src/mips64/macro-assembler-mips64.h +++ b/src/mips64/macro-assembler-mips64.h @@ -1051,30 +1051,6 @@ class MacroAssembler : public TurboAssembler { PointersToHereCheck pointers_to_here_check_for_value = kPointersToHereMaybeInteresting); - // As above, but the offset has the tag presubtracted. For use with - // MemOperand(reg, off). - inline void RecordWriteContextSlot( - Register context, - int offset, - Register value, - Register scratch, - RAStatus ra_status, - SaveFPRegsMode save_fp, - RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, - SmiCheck smi_check = INLINE_SMI_CHECK, - PointersToHereCheck pointers_to_here_check_for_value = - kPointersToHereMaybeInteresting) { - RecordWriteField(context, - offset + kHeapObjectTag, - value, - scratch, - ra_status, - save_fp, - remembered_set_action, - smi_check, - pointers_to_here_check_for_value); - } - // For a given |object| notify the garbage collector that the slot |address| // has been written. |value| is the object being stored. The value and // address registers are clobbered by the operation. diff --git a/src/ppc/macro-assembler-ppc.h b/src/ppc/macro-assembler-ppc.h index a1a92cfd01..7487cd6b25 100644 --- a/src/ppc/macro-assembler-ppc.h +++ b/src/ppc/macro-assembler-ppc.h @@ -716,20 +716,6 @@ class MacroAssembler : public TurboAssembler { PointersToHereCheck pointers_to_here_check_for_value = kPointersToHereMaybeInteresting); - // As above, but the offset has the tag presubtracted. For use with - // MemOperand(reg, off). - inline void RecordWriteContextSlot( - Register context, int offset, Register value, Register scratch, - LinkRegisterStatus lr_status, SaveFPRegsMode save_fp, - RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, - SmiCheck smi_check = INLINE_SMI_CHECK, - PointersToHereCheck pointers_to_here_check_for_value = - kPointersToHereMaybeInteresting) { - RecordWriteField(context, offset + kHeapObjectTag, value, scratch, - lr_status, save_fp, remembered_set_action, smi_check, - pointers_to_here_check_for_value); - } - // For a given |object| notify the garbage collector that the slot |address| // has been written. |value| is the object being stored. The value and // address registers are clobbered by the operation. diff --git a/src/s390/macro-assembler-s390.h b/src/s390/macro-assembler-s390.h index 277490cb6d..f1bd1d96e9 100644 --- a/src/s390/macro-assembler-s390.h +++ b/src/s390/macro-assembler-s390.h @@ -1356,20 +1356,6 @@ class MacroAssembler : public TurboAssembler { PointersToHereCheck pointers_to_here_check_for_value = kPointersToHereMaybeInteresting); - // As above, but the offset has the tag presubtracted. For use with - // MemOperand(reg, off). - inline void RecordWriteContextSlot( - Register context, int offset, Register value, Register scratch, - LinkRegisterStatus lr_status, SaveFPRegsMode save_fp, - RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, - SmiCheck smi_check = INLINE_SMI_CHECK, - PointersToHereCheck pointers_to_here_check_for_value = - kPointersToHereMaybeInteresting) { - RecordWriteField(context, offset + kHeapObjectTag, value, scratch, - lr_status, save_fp, remembered_set_action, smi_check, - pointers_to_here_check_for_value); - } - // For a given |object| notify the garbage collector that the slot |address| // has been written. |value| is the object being stored. The value and // address registers are clobbered by the operation. diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h index 6758293317..f885670016 100644 --- a/src/x64/macro-assembler-x64.h +++ b/src/x64/macro-assembler-x64.h @@ -593,28 +593,6 @@ class MacroAssembler : public TurboAssembler { PointersToHereCheck pointers_to_here_check_for_value = kPointersToHereMaybeInteresting); - // As above, but the offset has the tag presubtracted. For use with - // Operand(reg, off). - void RecordWriteContextSlot( - Register context, - int offset, - Register value, - Register scratch, - SaveFPRegsMode save_fp, - RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, - SmiCheck smi_check = INLINE_SMI_CHECK, - PointersToHereCheck pointers_to_here_check_for_value = - kPointersToHereMaybeInteresting) { - RecordWriteField(context, - offset + kHeapObjectTag, - value, - scratch, - save_fp, - remembered_set_action, - smi_check, - pointers_to_here_check_for_value); - } - // For page containing |object| mark region covering |address| // dirty. |object| is the object being stored into, |value| is the // object being stored. The address and value registers are clobbered by the