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

Unified Diff: runtime/vm/thread.h

Issue 1037333002: volatile -> const, where possible (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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/compiler.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 44732)
+++ runtime/vm/thread.h (working copy)
@@ -25,7 +25,7 @@
static void InitOnce();
static Thread* Current() {
- return reinterpret_cast<Thread*>(OSThread::GetThreadLocal(thread_key));
+ return reinterpret_cast<Thread*>(OSThread::GetThreadLocal(thread_key_));
}
static void SetCurrent(Thread* current);
@@ -42,7 +42,7 @@
void set_cha(CHA* value) { cha_ = value; }
private:
- static ThreadLocalKey thread_key;
+ static ThreadLocalKey thread_key_;
Isolate* isolate_;
CHA* cha_;
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698