File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -10217,6 +10217,10 @@ const char* CodeEvent::GetCodeEventTypeName(CodeEventType code_event_type) {
10217
10217
CODE_EVENTS_LIST (V)
10218
10218
#undef V
10219
10219
}
10220
+ // The execution should never pass here
10221
+ UNREACHABLE ();
10222
+ // NOTE(mmarchini): Workaround to fix a compiler failure on GCC 4.9
10223
+ return " Unknown" ;
10220
10224
}
10221
10225
10222
10226
CodeEventHandler::CodeEventHandler (Isolate* isolate) {
Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ static v8::CodeEventType GetCodeEventTypeForTag(
59
59
TAGS_LIST (V)
60
60
#undef V
61
61
}
62
+ // The execution should never pass here
63
+ UNREACHABLE ();
64
+ // NOTE(mmarchini): Workaround to fix a compiler failure on GCC 4.9
65
+ return v8::CodeEventType::kUnknownType ;
62
66
}
63
67
#define CALL_CODE_EVENT_HANDLER (Call ) \
64
68
if (listener_) { \
You can’t perform that action at this time.
0 commit comments