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

Unified Diff: runtime/vm/zone.cc

Issue 850183005: Introduce simple Thread class to support gradual refactoring of interfaces. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 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
« runtime/vm/zone.h ('K') | « runtime/vm/zone.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/zone.cc
===================================================================
--- runtime/vm/zone.cc (revision 43047)
+++ runtime/vm/zone.cc (working copy)
@@ -11,6 +11,7 @@
#include "vm/heap.h"
#include "vm/isolate.h"
#include "vm/os.h"
+#include "vm/thread.h"
namespace dart {
@@ -216,4 +217,8 @@
}
+Zone* Zone::Current() {
+ return Thread::Current()->current_zone();
+}
+
} // namespace dart
« runtime/vm/zone.h ('K') | « runtime/vm/zone.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698