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

Unified Diff: vm/cha.cc

Issue 12052033: Added macros OBJECT_IMPLEMENTATION and FINAL_OBJECT_IMPLEMENTATION (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 7 years, 11 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 | « vm/bigint_operations.cc ('k') | vm/class_finalizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/cha.cc
===================================================================
--- vm/cha.cc (revision 17436)
+++ vm/cha.cc (working copy)
@@ -49,7 +49,7 @@
}
Class& direct_subclass = Class::Handle();
for (intptr_t i = 0; i < cls_direct_subclasses.Length(); i++) {
- direct_subclass |= cls_direct_subclasses.At(i);
+ direct_subclass ^= cls_direct_subclasses.At(i);
intptr_t direct_subclass_id = direct_subclass.id();
if (!ContainsCid(cids, direct_subclass_id)) {
cids->Add(direct_subclass_id);
@@ -78,7 +78,7 @@
}
Class& direct_subclass = Class::Handle();
for (intptr_t i = 0; i < cls_direct_subclasses.Length(); i++) {
- direct_subclass |= cls_direct_subclasses.At(i);
+ direct_subclass ^= cls_direct_subclasses.At(i);
if (direct_subclass.LookupDynamicFunction(function_name) !=
Function::null()) {
return true;
« no previous file with comments | « vm/bigint_operations.cc ('k') | vm/class_finalizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698