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

Unified Diff: runtime/vm/debugger.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/dart_api_impl_test.cc ('k') | runtime/vm/deopt_instructions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger.cc
===================================================================
--- runtime/vm/debugger.cc (revision 17302)
+++ runtime/vm/debugger.cc (working copy)
@@ -508,7 +508,7 @@
ASSERT(i < desc_indices_.length());
intptr_t desc_index = desc_indices_[i];
ASSERT(name != NULL);
- *name ^= var_descriptors_.GetName(desc_index);
+ *name |= var_descriptors_.GetName(desc_index);
RawLocalVarDescriptors::VarInfo var_info;
var_descriptors_.GetInfo(desc_index, &var_info);
ASSERT(token_pos != NULL);
@@ -824,7 +824,7 @@
functions = cls.functions();
intptr_t num_functions = functions.IsNull() ? 0 : functions.Length();
for (intptr_t f = 0; f < num_functions; f++) {
- function ^= functions.At(f);
+ function |= functions.At(f);
ASSERT(!function.IsNull());
if (function.HasOptimizedCode()) {
function.SwitchToUnoptimizedCode();
@@ -1142,7 +1142,7 @@
const GrowableObjectArray& libs =
GrowableObjectArray::Handle(isolate_->object_store()->libraries());
for (int i = 0; i < libs.Length(); i++) {
- lib ^= libs.At(i);
+ lib |= libs.At(i);
script = lib.LookupScript(script_url);
if (!script.IsNull()) {
break;
@@ -1277,7 +1277,7 @@
while (!cls.IsNull()) {
fields = cls.fields();
for (int i = 0; i < fields.Length(); i++) {
- field ^= fields.At(i);
+ field |= fields.At(i);
if (!field.is_static()) {
field_name = field.name();
field_list.Add(field_name);
@@ -1299,7 +1299,7 @@
String& field_name = String::Handle();
Object& field_value = Object::Handle();
for (int i = 0; i < fields.Length(); i++) {
- field ^= fields.At(i);
+ field |= fields.At(i);
if (field.is_static()) {
field_name = field.name();
field_value = GetStaticField(cls, field_name);
@@ -1324,7 +1324,7 @@
while (it.HasNext()) {
entry = it.GetNext();
if (entry.IsField()) {
- field ^= entry.raw();
+ field |= entry.raw();
cls = field.owner();
ASSERT(field.is_static());
field_name = field.name();
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/deopt_instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698