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); |