| Index: src/arm/lithium-codegen-arm.cc
|
| ===================================================================
|
| --- src/arm/lithium-codegen-arm.cc (revision 10387)
|
| +++ src/arm/lithium-codegen-arm.cc (working copy)
|
| @@ -2266,21 +2266,7 @@
|
|
|
| // Store the value.
|
| __ str(value, FieldMemOperand(scratch, JSGlobalPropertyCell::kValueOffset));
|
| -
|
| - // Cells are always in the remembered set.
|
| - if (instr->hydrogen()->NeedsWriteBarrier()) {
|
| - HType type = instr->hydrogen()->value()->type();
|
| - SmiCheck check_needed =
|
| - type.IsHeapObject() ? OMIT_SMI_CHECK : INLINE_SMI_CHECK;
|
| - __ RecordWriteField(scratch,
|
| - JSGlobalPropertyCell::kValueOffset,
|
| - value,
|
| - scratch2,
|
| - kLRHasBeenSaved,
|
| - kSaveFPRegs,
|
| - OMIT_REMEMBERED_SET,
|
| - check_needed);
|
| - }
|
| + // Cells are always rescanned, so no write barrier here.
|
| }
|
|
|
|
|
|
|