From d51a0d06e313057137180c893c441ad8f4444936 Mon Sep 17 00:00:00 2001 From: "hpayer@chromium.org" Date: Thu, 20 Jun 2013 10:05:33 +0000 Subject: [PATCH] Make isolate id getter public. BUG= R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/17343004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15228 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/isolate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/isolate.h b/src/isolate.h index 76a5a41..0552ef7 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(id_); } + HStatistics* GetHStatistics(); HTracer* GetHTracer(); private: Isolate(); - int id() const { return static_cast(id_); } - friend struct GlobalState; friend struct InitializeGlobalState; -- 2.7.4