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

Unified Diff: vm/compiler.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/code_patcher_x64.cc ('k') | vm/dart.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/compiler.cc
===================================================================
--- vm/compiler.cc (revision 17436)
+++ vm/compiler.cc (working copy)
@@ -385,7 +385,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());
}
}
@@ -435,9 +435,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(),
@@ -573,7 +573,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 | « vm/code_patcher_x64.cc ('k') | vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698