| Index: src/x64/lithium-codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/lithium-codegen-x64.cc (revision 8221)
|
| +++ src/x64/lithium-codegen-x64.cc (working copy)
|
| @@ -2221,7 +2221,6 @@
|
| ASSERT(!value.is(object));
|
| Handle<JSGlobalPropertyCell> cell_handle(instr->hydrogen()->cell());
|
|
|
| - int offset = JSGlobalPropertyCell::kValueOffset;
|
| __ movq(address, cell_handle, RelocInfo::GLOBAL_PROPERTY_CELL);
|
|
|
| // If the cell we are storing to contains the hole it could have
|
| @@ -2239,6 +2238,7 @@
|
| Label smi_store;
|
| __ 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,
|
|
|