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

Unified Diff: src/stub-cache.h

Issue 6688002: Add "isolate" argument to LOG macro to avoid TLS fetches. (Closed)
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
« no previous file with comments | « src/string-stream.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/stub-cache.h
diff --git a/src/stub-cache.h b/src/stub-cache.h
index cbda76a5e2150079bcf16c06cee942968897962a..021ff1288b5528bf718258983c64d9b658a5ee54 100644
--- a/src/stub-cache.h
+++ b/src/stub-cache.h
@@ -558,6 +558,8 @@ class StubCompiler BASE_EMBEDDED {
String* name,
LookupResult* lookup);
+ Isolate* isolate() { return scope_.isolate(); }
+
private:
HandleScope scope_;
MacroAssembler masm_;
« no previous file with comments | « src/string-stream.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698