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

Unified Diff: runtime/vm/thread.cc

Issue 1061243003: Move CHA field back to Isolate, pending a permanent fix. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 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/thread.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.cc
===================================================================
--- runtime/vm/thread.cc (revision 45029)
+++ runtime/vm/thread.cc (working copy)
@@ -87,4 +87,15 @@
}
+CHA* Thread::cha() const {
+ ASSERT(isolate_ != NULL);
+ return isolate_->cha_;
+}
+
+
+void Thread::set_cha(CHA* value) {
+ ASSERT(isolate_ != NULL);
+ isolate_->cha_ = value;
+}
+
} // namespace dart
« no previous file with comments | « runtime/vm/thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698