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

Unified Diff: vm/assembler_macros_ia32.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
« no previous file with comments | « no previous file | vm/assembler_macros_x64.cc » ('j') | vm/assembler_macros_x64.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/assembler_macros_ia32.cc
===================================================================
--- vm/assembler_macros_ia32.cc (revision 2918)
+++ vm/assembler_macros_ia32.cc (working copy)
@@ -47,6 +47,8 @@
__ StoreIntoObject(instance_reg,
FieldAddress(instance_reg, Instance::class_offset()),
class_reg);
siva 2012/01/04 01:56:03 ASSERT(instance_size <= RawObject::SizeTag::kMaxSi
Ivan Posva 2012/01/04 07:59:42 This assertion would be wrong. RawObject::SizeTag:
+ __ movl(FieldAddress(instance_reg, Object::tags_offset()),
+ Immediate(RawObject::SizeTag::encode(instance_size)));
} else {
__ jmp(failure);
}
« no previous file with comments | « no previous file | vm/assembler_macros_x64.cc » ('j') | vm/assembler_macros_x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698