Index: vm/dart.cc |
=================================================================== |
--- vm/dart.cc (revision 17436) |
+++ vm/dart.cc (working copy) |
@@ -155,13 +155,13 @@ |
String& url = String::Handle(); |
String& source = String::Handle(); |
for (int i = 0; i < lib_count; i++) { |
- lib |= libs.At(i); |
+ lib ^= libs.At(i); |
url = lib.url(); |
OS::Print("Library %s:\n", url.ToCString()); |
scripts = lib.LoadedScripts(); |
intptr_t script_count = scripts.Length(); |
for (intptr_t i = 0; i < script_count; i++) { |
- script |= scripts.At(i); |
+ script ^= scripts.At(i); |
url = script.url(); |
source = script.Source(); |
OS::Print("Source for %s:\n", url.ToCString()); |
@@ -244,6 +244,7 @@ |
uword Dart::AllocateReadOnlyHandle() { |
+ ASSERT(Isolate::Current() == Dart::vm_isolate()); |
ASSERT(predefined_handles_ != NULL); |
return predefined_handles_->handles_.AllocateScopedHandle(); |
} |