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

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: 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/cpu-profiler.h ('k') | src/global-handles.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/global-handles.h
diff --git a/src/global-handles.h b/src/global-handles.h
index 66284935c9361e858371947e6abf64d4a811e6f9..c25cc07800bfba48d2e99bffc0f8f4e9fc5c7d5b 100644
--- a/src/global-handles.h
+++ b/src/global-handles.h
@@ -145,6 +145,8 @@ class GlobalHandles {
// Tear down the global handle structure.
void TearDown();
+ Isolate* isolate() { return isolate_; }
+
#ifdef DEBUG
void PrintStats();
void Print();
« no previous file with comments | « src/cpu-profiler.h ('k') | src/global-handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698