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

Unified Diff: runtime/vm/thread.h

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/isolate.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.h
===================================================================
--- runtime/vm/thread.h (revision 45029)
+++ runtime/vm/thread.h (working copy)
@@ -46,19 +46,18 @@
// The isolate that this thread is operating on, or NULL if none.
Isolate* isolate() const { return isolate_; }
- // The (topmost) CHA for the compilation in this thread.
- CHA* cha() const { return cha_; }
- void set_cha(CHA* value) { cha_ = value; }
+ // The (topmost) CHA for the compilation in the isolate of this thread.
+ // TODO(23153): Move this out of Isolate/Thread.
+ CHA* cha() const;
+ void set_cha(CHA* value);
private:
static ThreadLocalKey thread_key_;
Isolate* isolate_;
- CHA* cha_;
Thread()
- : isolate_(NULL),
- cha_(NULL) {}
+ : isolate_(NULL) {}
static void SetCurrent(Thread* current);
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698