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

Unified Diff: vm/dart.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/compiler.cc ('k') | vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « vm/compiler.cc ('k') | vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698