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

Unified Diff: runtime/vm/isolate.cc

Issue 11941021: More ^= to |= (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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 | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
===================================================================
--- runtime/vm/isolate.cc (revision 17302)
+++ runtime/vm/isolate.cc (working copy)
@@ -432,7 +432,7 @@
return &ICData::ZoneHandle();
}
ICData& ic_data_handle = ICData::ZoneHandle();
- ic_data_handle ^= array_handle.At(deopt_id);
+ ic_data_handle |= array_handle.At(deopt_id);
return &ic_data_handle;
}
@@ -457,7 +457,7 @@
const int func_len = class_functions.IsNull() ? 0 : class_functions.Length();
for (int j = 0; j < func_len; j++) {
Function& function = Function::Handle();
- function ^= class_functions.At(j);
+ function |= class_functions.At(j);
if (function.usage_counter() > 0) {
functions->Add(&function);
}
@@ -474,7 +474,7 @@
Library& library = Library::Handle();
GrowableArray<const Function*> invoked_functions;
for (int i = 0; i < libraries.Length(); i++) {
- library ^= libraries.At(i);
+ library |= libraries.At(i);
Class& cls = Class::Handle();
ClassDictionaryIterator iter(library);
while (iter.HasNext()) {
@@ -483,7 +483,7 @@
}
Array& anon_classes = Array::Handle(library.raw_ptr()->anonymous_classes_);
for (int i = 0; i < library.raw_ptr()->num_anonymous_; i++) {
- cls ^= anon_classes.At(i);
+ cls |= anon_classes.At(i);
AddFunctionsFromClass(cls, &invoked_functions);
}
}
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698