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

Unified Diff: vm/assembler_macros_ia32.cc

Issue 10271032: - Add extra checking when validating objects. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 8 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') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/assembler_macros_ia32.cc
===================================================================
--- vm/assembler_macros_ia32.cc (revision 7183)
+++ vm/assembler_macros_ia32.cc (working copy)
@@ -47,7 +47,7 @@
__ StoreIntoObject(instance_reg,
FieldAddress(instance_reg, Instance::class_offset()),
class_reg);
- intptr_t tags = 0;
+ uword tags = 0;
tags = RawObject::SizeTag::update(instance_size, tags);
ASSERT(cls.index() != kIllegalObjectKind);
tags = RawObject::ClassTag::update(cls.index(), tags);
« no previous file with comments | « no previous file | vm/assembler_macros_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698