| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 3233be716d09e3f7a2944c3d2730a960be44a830..a30a3c931cb8ff2f298b4c814a9b8e16312cfc2e 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -3908,12 +3908,16 @@ void RegExpExecStub::Generate(MacroAssembler* masm) {
|
| // Store last subject and last input.
|
| __ mov(eax, Operand(esp, kSubjectOffset));
|
| __ mov(FieldOperand(ebx, RegExpImpl::kLastSubjectOffset), eax);
|
| +#ifdef ENABLE_CARDMARKING_WRITE_BARRIER
|
| __ mov(ecx, ebx);
|
| __ RecordWrite(ecx, RegExpImpl::kLastSubjectOffset, eax, edi);
|
| +#endif
|
| __ mov(eax, Operand(esp, kSubjectOffset));
|
| __ mov(FieldOperand(ebx, RegExpImpl::kLastInputOffset), eax);
|
| +#ifdef ENABLE_CARDMARKING_WRITE_BARRIER
|
| __ mov(ecx, ebx);
|
| __ RecordWrite(ecx, RegExpImpl::kLastInputOffset, eax, edi);
|
| +#endif
|
|
|
| // Get the static offsets vector filled by the native regexp code.
|
| ExternalReference address_of_static_offsets_vector =
|
|
|