Reviewers: Sven Panne,
Description:
Make isolate id getter public.
BUG=
Please review this at https://codereview.chromium.org/17343004/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/isolate.h
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;
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.