File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 2929
3030 # Reset this number to 0 on major V8 upgrades.
3131 # Increment by one for each non-official patch applied to deps/v8.
32- 'v8_embedder_string' : '-node.5 ' ,
32+ 'v8_embedder_string' : '-node.6 ' ,
3333
3434 # Enable disassembler for `--print-code` v8 options
3535 'v8_enable_disassembler' : 1 ,
Original file line number Diff line number Diff line change @@ -10148,6 +10148,10 @@ const char* CodeEvent::GetCodeEventTypeName(CodeEventType code_event_type) {
1014810148 CODE_EVENTS_LIST (V)
1014910149#undef V
1015010150 }
10151+ // The execution should never pass here
10152+ UNREACHABLE ();
10153+ // NOTE(mmarchini): Workaround to fix a compiler failure on GCC 4.9
10154+ return " Unknown" ;
1015110155}
1015210156
1015310157CodeEventHandler::CodeEventHandler (Isolate* isolate) {
Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ static v8::CodeEventType GetCodeEventTypeForTag(
5959 TAGS_LIST (V)
6060#undef V
6161 }
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 ;
6266}
6367#define CALL_CODE_EVENT_HANDLER (Call ) \
6468 if (listener_) { \
You can’t perform that action at this time.
0 commit comments