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

Unified Diff: vm/intrinsifier_ia32.cc

Issue 9027017: - Promote objects from new gen to old space if they survived a scavenge. (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 | « vm/heap.h ('k') | vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/intrinsifier_ia32.cc
===================================================================
--- vm/intrinsifier_ia32.cc (revision 2792)
+++ vm/intrinsifier_ia32.cc (working copy)
@@ -127,8 +127,11 @@
__ movl(EDI, FieldAddress(CTX, Context::isolate_offset()));
__ movl(EDI, Address(EDI, Isolate::object_store_offset()));
__ movl(EDI, Address(EDI, ObjectStore::array_class_offset()));
- __ StoreIntoObject(EAX, FieldAddress(EAX, Instance::class_offset()), EDI);
+ __ StoreIntoObject(EAX, FieldAddress(EAX, Array::class_offset()), EDI);
+ // Initialize the tags.
+ __ movl(FieldAddress(EAX, Array::tags_offset()), Immediate(0));
+
// Store the type argument field.
__ movl(EDI, Address(ESP, kTypeArgumentsOffset)); // type argument.
__ StoreIntoObject(EAX,
« no previous file with comments | « vm/heap.h ('k') | vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698