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

Unified Diff: runtime/vm/intrinsifier_ia32.cc

Issue 10441111: - Rename class index to class id. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier_ia32.cc
===================================================================
--- runtime/vm/intrinsifier_ia32.cc (revision 8135)
+++ runtime/vm/intrinsifier_ia32.cc (working copy)
@@ -85,7 +85,7 @@
// Get the class index and insert it into the tags.
const Class& cls = Class::Handle(isolate->object_store()->array_class());
- __ orl(EDI, Immediate(RawObject::ClassTag::encode(cls.index())));
+ __ orl(EDI, Immediate(RawObject::ClassIdTag::encode(cls.id())));
__ movl(FieldAddress(EAX, Array::tags_offset()), EDI); // Tags.
}
@@ -295,7 +295,7 @@
isolate->object_store()->growable_object_array_class());
uword tags = 0;
tags = RawObject::SizeTag::update(fixed_size, tags);
- tags = RawObject::ClassTag::update(cls.index(), tags);
+ tags = RawObject::ClassIdTag::update(cls.id(), tags);
__ movl(FieldAddress(EAX, GrowableObjectArray::tags_offset()),
Immediate(tags));
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698