| Index: src/x64/lithium-codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/lithium-codegen-x64.cc (revision 10387)
|
| +++ src/x64/lithium-codegen-x64.cc (working copy)
|
| @@ -2049,25 +2049,7 @@
|
|
|
| // Store the value.
|
| __ movq(Operand(address, 0), value);
|
| -
|
| - if (instr->hydrogen()->NeedsWriteBarrier()) {
|
| - Label smi_store;
|
| - HType type = instr->hydrogen()->value()->type();
|
| - if (!type.IsHeapNumber() && !type.IsString() && !type.IsNonPrimitive()) {
|
| - __ JumpIfSmi(value, &smi_store, Label::kNear);
|
| - }
|
| -
|
| - int offset = JSGlobalPropertyCell::kValueOffset - kHeapObjectTag;
|
| - __ lea(object, Operand(address, -offset));
|
| - // Cells are always in the remembered set.
|
| - __ RecordWrite(object,
|
| - address,
|
| - value,
|
| - kSaveFPRegs,
|
| - OMIT_REMEMBERED_SET,
|
| - OMIT_SMI_CHECK);
|
| - __ bind(&smi_store);
|
| - }
|
| + // Cells are always rescanned, so no write barrier here.
|
| }
|
|
|
|
|
|
|