Index: src/mips/stub-cache-mips.cc |
=================================================================== |
--- src/mips/stub-cache-mips.cc (revision 10185) |
+++ src/mips/stub-cache-mips.cc (working copy) |
@@ -2605,16 +2605,8 @@ |
// Store the value in the cell. |
__ sw(a0, FieldMemOperand(t0, JSGlobalPropertyCell::kValueOffset)); |
__ mov(v0, a0); // Stored value must be returned in v0. |
+ // Cells are always rescanned, so no write barrier here. |
- // This trashes a0 but the value is returned in v0 anyway. |
- __ RecordWriteField(t0, |
- JSGlobalPropertyCell::kValueOffset, |
- a0, |
- a2, |
- kRAHasNotBeenSaved, |
- kDontSaveFPRegs, |
- OMIT_REMEMBERED_SET); |
- |
Counters* counters = masm()->isolate()->counters(); |
__ IncrementCounter(counters->named_store_global_inline(), 1, a1, a3); |
__ Ret(); |