Index: src/arm/stub-cache-arm.cc |
=================================================================== |
--- src/arm/stub-cache-arm.cc (revision 10185) |
+++ src/arm/stub-cache-arm.cc (working copy) |
@@ -2587,16 +2587,8 @@ |
// Store the value in the cell. |
__ str(r0, FieldMemOperand(r4, JSGlobalPropertyCell::kValueOffset)); |
+ // Cells are always rescanned, so no write barrier here. |
- __ mov(r1, r0); |
- __ RecordWriteField(r4, |
- JSGlobalPropertyCell::kValueOffset, |
- r1, |
- r2, |
- kLRHasNotBeenSaved, |
- kDontSaveFPRegs, |
- OMIT_REMEMBERED_SET); |
- |
Counters* counters = masm()->isolate()->counters(); |
__ IncrementCounter(counters->named_store_global_inline(), 1, r4, r3); |
__ Ret(); |