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

Unified Diff: src/log.h

Issue 12254007: Make the Isolate parameter mandatory for internal HandleScopes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 7 years, 10 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/liveedit.cc ('k') | src/log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.h
diff --git a/src/log.h b/src/log.h
index 093906c3848c2966bf2defd349cb19bdabe6b14c..2183160fee8a3b8c96bf077c34320db5f2dad979 100644
--- a/src/log.h
+++ b/src/log.h
@@ -310,7 +310,7 @@ class Logger {
void RegExpCompileEvent(Handle<JSRegExp> regexp, bool in_cache);
// Log an event reported from generated code
- void LogRuntime(Vector<const char> format, JSArray* args);
+ void LogRuntime(Isolate* isolate, Vector<const char> format, JSArray* args);
bool is_logging() {
return logging_nesting_ > 0;
@@ -355,7 +355,7 @@ class Logger {
class NameBuffer;
class NameMap;
- Logger();
+ explicit Logger(Isolate* isolate);
~Logger();
// Issue code notifications.
@@ -422,6 +422,8 @@ class Logger {
// Returns whether profiler's sampler is active.
bool IsProfilerSamplerActive();
+ Isolate* isolate_;
+
// The sampler used by the profiler and the sliding state window.
Ticker* ticker_;
« no previous file with comments | « src/liveedit.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698