| Index: src/arm/code-stubs-arm.cc
|
| ===================================================================
|
| --- src/arm/code-stubs-arm.cc (revision 8184)
|
| +++ src/arm/code-stubs-arm.cc (working copy)
|
| @@ -4403,6 +4403,7 @@
|
| RegExpImpl::kLastSubjectOffset,
|
| r2,
|
| r7,
|
| + kLRHasNotBeenSaved,
|
| kDontSaveFPRegs);
|
| __ str(subject,
|
| FieldMemOperand(last_match_info_elements,
|
| @@ -4411,6 +4412,7 @@
|
| RegExpImpl::kLastInputOffset,
|
| subject,
|
| r7,
|
| + kLRHasNotBeenSaved,
|
| kDontSaveFPRegs);
|
|
|
| // Get the static offsets vector filled by the native regexp code.
|
| @@ -6448,6 +6450,19 @@
|
| }
|
|
|
|
|
| +// Takes the input in 3 registers: address_ value_ and object_. A pointer to
|
| +// the value has just been written into the object, now this stub makes sure
|
| +// we keep the GC informed. The word in the object where the value has been
|
| +// written is in the address register.
|
| +void RecordWriteStub::Generate(MacroAssembler* masm) {
|
| + if (remembered_set_action_ == EMIT_REMEMBERED_SET) {
|
| + __ RememberedSetHelper(
|
| + address_, value_, save_fp_regs_mode_, MacroAssembler::kReturnAtEnd);
|
| + }
|
| + __ Ret();
|
| +}
|
| +
|
| +
|
| #undef __
|
|
|
| } } // namespace v8::internal
|
|
|