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

Unified Diff: src/handles.h

Issue 6696042: Adding 'isolates' argument to LOG to get rid of multiple TLS fetches in profiling. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/isolates
Patch Set: Addressing code review feedback + rebase Created 9 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 | « src/global-handles.cc ('k') | src/handles.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/handles.h
diff --git a/src/handles.h b/src/handles.h
index 1ad0ee9a65be14275c00b793a986b2cceb61ed64..8d61a9191d1a07378dcd519c08631d2b8e04d65f 100644
--- a/src/handles.h
+++ b/src/handles.h
@@ -134,6 +134,8 @@ class HandleScope {
template <typename T>
Handle<T> CloseAndEscape(Handle<T> handle_value);
+ Isolate* isolate() { return isolate_; }
+
private:
// Prevent heap allocation or illegal handle scopes.
HandleScope(const HandleScope&);
« no previous file with comments | « src/global-handles.cc ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698