Index: src/log.h |
diff --git a/src/log.h b/src/log.h |
index f099f02b6420a49d23fac5498eb24e957971da34..4d5acced692c9ba2701cedbd266b87f2f6bd98c5 100644 |
--- a/src/log.h |
+++ b/src/log.h |
@@ -208,6 +208,8 @@ class Logger { |
// ==== Events logged by --log-code. ==== |
// Emits a code event for a callback function. |
static void CallbackEvent(String* name, Address entry_point); |
+ static void GetterCallbackEvent(String* name, Address entry_point); |
+ static void SetterCallbackEvent(String* name, Address entry_point); |
// Emits a code create event. |
static void CodeCreateEvent(LogEventsAndTags tag, |
Code* code, const char* source); |
@@ -273,6 +275,8 @@ class Logger { |
// Logs all compiled functions found in the heap. |
static void LogCompiledFunctions(); |
+ // Logs all accessor callbacks found in the heap. |
+ static void LogAccessorCallbacks(); |
// Used for logging stubs found in the snapshot. |
static void LogCodeObject(Object* code_object); |
@@ -287,6 +291,11 @@ class Logger { |
// Emits the profiler's first message. |
static void ProfilerBeginEvent(); |
+ // Emits callback event messages. |
+ static void CallbackEventInternal(const char* prefix, |
+ const char* name, |
+ Address entry_point); |
+ |
// Emits aliases for compressed messages. |
static void LogAliases(); |