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

Unified Diff: runtime/vm/compiler.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/code_descriptors_test.cc ('k') | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler.cc
===================================================================
--- runtime/vm/compiler.cc (revision 17302)
+++ runtime/vm/compiler.cc (working copy)
@@ -383,7 +383,7 @@
const Array& stackmap_table = Array::Handle(code.stackmaps());
Stackmap& map = Stackmap::Handle();
for (intptr_t i = 0; i < stackmap_table.Length(); ++i) {
- map ^= stackmap_table.At(i);
+ map |= stackmap_table.At(i);
OS::Print("%s\n", map.ToCString());
}
}
@@ -433,9 +433,9 @@
Code& code = Code::Handle();
for (intptr_t i = 0; i < table.Length();
i += Code::kSCallTableEntryLength) {
- offset ^= table.At(i + Code::kSCallTableOffsetEntry);
- function ^= table.At(i + Code::kSCallTableFunctionEntry);
- code ^= table.At(i + Code::kSCallTableCodeEntry);
+ offset |= table.At(i + Code::kSCallTableOffsetEntry);
+ function |= table.At(i + Code::kSCallTableFunctionEntry);
+ code |= table.At(i + Code::kSCallTableCodeEntry);
OS::Print(" 0x%"Px": %s, %p\n",
start + offset.Value(),
function.ToFullyQualifiedCString(),
@@ -571,7 +571,7 @@
return error.raw();
}
for (int i = 0; i < functions.Length(); i++) {
- func ^= functions.At(i);
+ func |= functions.At(i);
ASSERT(!func.IsNull());
if (!func.HasCode() &&
!func.is_abstract() &&
« no previous file with comments | « runtime/vm/code_descriptors_test.cc ('k') | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698