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

Unified Diff: vm/assembler_macros_x64.cc

Issue 9072011: - Add a size field to the header. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 8 years, 12 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: vm/assembler_macros_x64.cc
===================================================================
--- vm/assembler_macros_x64.cc (revision 2918)
+++ vm/assembler_macros_x64.cc (working copy)
@@ -51,6 +51,8 @@
__ StoreIntoObject(instance_reg,
FieldAddress(instance_reg, Instance::class_offset()),
class_reg);
+ __ movq(FieldAddress(instance_reg, Object::tags_offset()),
+ Immediate(RawObject::SizeTag::encode(instance_size)));
} else {
__ jmp(failure);
}
« no previous file with comments | « vm/assembler_macros_ia32.cc ('k') | vm/freelist.h » ('j') | vm/stub_code_x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698