[maglev] Add maglev CodeKind to function logging

Bug: v8:7700
Change-Id: If0ae8dce83d91b159c345bdeef74d902593cd185
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3605247
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80158}
This commit is contained in:
Leszek Swirski 2022-04-25 18:02:09 +02:00 committed by V8 LUCI CQ
parent 65d29d321b
commit d94f8343fb

View File

@ -293,6 +293,9 @@ void Compiler::LogFunctionCompilation(Isolate* isolate,
case CodeKind::BASELINE:
name = "baseline";
break;
case CodeKind::MAGLEV:
name = "maglev";
break;
case CodeKind::TURBOFAN:
name = "optimize";
break;