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

Unified Diff: src/isolate.h

Issue 17343004: Make isolate id getter public. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 76a5a41e70ab0b32502d10a5c9ed37ad22789985..0552ef7f8085b60f8b3d349580424b05255092ec 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -1107,14 +1107,14 @@ class Isolate {
callback_table_ = callback_table;
}
+ int id() const { return static_cast<int>(id_); }
+
HStatistics* GetHStatistics();
HTracer* GetHTracer();
private:
Isolate();
- int id() const { return static_cast<int>(id_); }
-
friend struct GlobalState;
friend struct InitializeGlobalState;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698