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

Unified Diff: runtime/vm/assembler_macros_ia32.cc

Issue 10450014: Request for comments on overall approach. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix scavenger and freelist handling Created 8 years, 7 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: runtime/vm/assembler_macros_ia32.cc
diff --git a/runtime/vm/assembler_macros_ia32.cc b/runtime/vm/assembler_macros_ia32.cc
index b5477cb9d32bae8d07ff9950a24fb06fc7da58a7..038ddc5a38332f340ca6268d7bd9e477d3f6dcda 100644
--- a/runtime/vm/assembler_macros_ia32.cc
+++ b/runtime/vm/assembler_macros_ia32.cc
@@ -44,9 +44,7 @@ void AssemblerMacros::TryAllocate(Assembler* assembler,
__ movl(Address::Absolute(heap->TopAddress()), instance_reg);
ASSERT(instance_size >= kHeapObjectTag);
__ subl(instance_reg, Immediate(instance_size - kHeapObjectTag));
- __ StoreIntoObject(instance_reg,
- FieldAddress(instance_reg, Instance::class_offset()),
- class_reg);
+
uword tags = 0;
tags = RawObject::SizeTag::update(instance_size, tags);
ASSERT(cls.index() != kIllegalObjectKind);

Powered by Google App Engine
This is Rietveld 408576698