Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Unified Diff: src/x64/lithium-codegen-x64.cc

Issue 7104107: Incremental mode now works for x64. The only difference (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698