Index: src/log.h |
diff --git a/src/log.h b/src/log.h |
index 8573d7169f1a41013cc56a01c166c4b6716ce708..bbcfa42c63b7471ddbd31cdd55d6092003676d46 100644 |
--- a/src/log.h |
+++ b/src/log.h |
@@ -167,6 +167,8 @@ class Logger { |
static void CodeCreateEvent(const char* tag, Code* code, String* name, |
String* source, int line); |
static void CodeCreateEvent(const char* tag, Code* code, int args_count); |
+ // Emits a code create event for a RegExp. |
+ static void RegExpCodeCreateEvent(Code* code, String* source); |
static void CodeAllocateEvent(Code* code, Assembler* assem); |
// Emits a code move event. |
static void CodeMoveEvent(Address from, Address to); |
@@ -227,7 +229,7 @@ class Logger { |
static void UncheckedStringEvent(const char* name, const char* value); |
// Size of buffer used for formatting log messages. |
- static const int kMessageBufferSize = 256; |
+ static const int kMessageBufferSize = 2048; |
// Buffer used for formatting log messages. This is a singleton buffer and |
// mutex_ should be acquired before using it. |