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

Unified Diff: src/log.h

Issue 1207433002: Assertion failure when using --log-regexp (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | 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 032f611070ad34772858a7eb17c8a9a0951b278f..2b8517d0979e159fe049693c1ab72b480e31792f 100644
--- a/src/log.h
+++ b/src/log.h
@@ -10,6 +10,8 @@
#include "src/allocation.h"
#include "src/base/platform/elapsed-timer.h"
#include "src/base/platform/platform.h"
+#include "src/flags.h"
Jakob Kummerow 2015/06/24 13:40:01 I don't think flags.h is needed below.
Djordje.Pesic 2015/06/25 08:06:16 I have to include flags.h because log-utils.h uses
Jakob Kummerow 2015/06/29 09:11:50 Yes, please include it exactly where it's needed (
Djordje.Pesic 2015/06/29 13:08:38 Done.
+#include "src/log-utils.h"
#include "src/objects.h"
namespace v8 {
@@ -355,8 +357,7 @@ class Logger {
void MoveEventInternal(LogEventsAndTags event, Address from, Address to);
// Emits the source code of a regexp. Used by regexp events.
- void LogRegExpSource(Handle<JSRegExp> regexp);
-
+ void LogRegExpSource(Handle<JSRegExp> regexp, Log::MessageBuilder& msg);
Jakob Kummerow 2015/06/24 13:40:01 The style guide forbids non-const references. Eith
Djordje.Pesic 2015/06/25 08:06:16 I have to include log-utils.h because class Messag
Jakob Kummerow 2015/06/29 09:11:50 Hm... But I'd really like to get as far away as po
Djordje.Pesic 2015/06/29 13:08:38 Done.
// Used for logging stubs found in the snapshot.
void LogCodeObject(Object* code_object);
« no previous file with comments | « no previous file | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698