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

Unified Diff: vm/assembler_macros_x64.cc

Issue 9017024: X64: check all cases with "__ movq(FieldAddress" and converted them to StoreIntoObject if appropr... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years 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
« no previous file with comments | « no previous file | vm/code_generator_x64.cc » ('j') | vm/code_generator_x64.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/assembler_macros_x64.cc
===================================================================
--- vm/assembler_macros_x64.cc (revision 2709)
+++ vm/assembler_macros_x64.cc (working copy)
@@ -48,7 +48,9 @@
__ movq(Address(TMP, 0), instance_reg);
ASSERT(instance_size >= kHeapObjectTag);
__ subq(instance_reg, Immediate(instance_size - kHeapObjectTag));
- __ movq(FieldAddress(instance_reg, Instance::class_offset()), class_reg);
+ __ StoreIntoObject(instance_reg,
+ FieldAddress(instance_reg, Instance::class_offset()),
+ class_reg);
} else {
__ jmp(failure);
}
« no previous file with comments | « no previous file | vm/code_generator_x64.cc » ('j') | vm/code_generator_x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698