| Index: src/log.h
|
| diff --git a/src/log.h b/src/log.h
|
| index b1a41e949f431ecc05895ab4b83c0af981b3c569..7308022f1226685d318e0da60b81b54864d7caba 100644
|
| --- a/src/log.h
|
| +++ b/src/log.h
|
| @@ -79,6 +79,7 @@ struct TickSample;
|
|
|
| #define LOG_EVENTS_AND_TAGS_LIST(V) \
|
| V(CODE_CREATION_EVENT, "code-creation") \
|
| + V(CODE_DEOPT_EVENT, "code-deoptimization") \
|
| V(CODE_MOVE_EVENT, "code-move") \
|
| V(CODE_DELETE_EVENT, "code-delete") \
|
| V(CODE_MOVING_GC, "code-moving-gc") \
|
| @@ -237,6 +238,8 @@ class Logger {
|
| CompilationInfo* info,
|
| Name* source, int line, int column);
|
| void CodeCreateEvent(LogEventsAndTags tag, Code* code, int args_count);
|
| + // Emits a code deoptimization event.
|
| + void CodeDeoptEvent(Code* code, SharedFunctionInfo* shared);
|
| void CodeMovingGCEvent();
|
| // Emits a code create event for a RegExp.
|
| void RegExpCodeCreateEvent(Code* code, String* source);
|
| @@ -470,6 +473,7 @@ class CodeEventListener {
|
| virtual void CodeDeleteEvent(Address from) = 0;
|
| virtual void SharedFunctionInfoMoveEvent(Address from, Address to) = 0;
|
| virtual void CodeMovingGCEvent() = 0;
|
| + virtual void CodeDeoptEvent(Code* code, SharedFunctionInfo* shared) = 0;
|
| };
|
|
|
|
|
|
|