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

Unified Diff: src/global-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: 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
Index: src/global-handles.h
diff --git a/src/global-handles.h b/src/global-handles.h
index d33526dbe043e880eba43c42afd1b3626e99b9b8..1ea505a5bc7f764a635838b873e564d5f711c156 100644
--- a/src/global-handles.h
+++ b/src/global-handles.h
@@ -132,6 +132,8 @@ class GlobalHandles {
// Tear down the global handle structure.
void TearDown();
+ Isolate* isolate() { return isolate_; }
+
#ifdef DEBUG
void PrintStats();
void Print();
« src/compiler.cc ('K') | « src/cpu-profiler.h ('k') | src/global-handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698