[maglev] Missing calls to Maglev in MaybeTailCallOptimizedCodeSlot

Bug: v8:7700
Change-Id: Ib3b3f453e162e0913b8077ac8f8b9e2273deaed9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3521783
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79467}
This commit is contained in:
Victor Gomes 2022-03-14 16:55:21 +01:00 committed by V8 LUCI CQ
parent 6e2c9bb265
commit 273d3e4bab

View File

@ -67,6 +67,12 @@ void LazyBuiltinsAssembler::MaybeTailCallOptimizedCodeSlot(
TailCallRuntimeIfMarkerEquals(marker, TailCallRuntimeIfMarkerEquals(marker,
OptimizationMarker::kCompileTurbofan_Concurrent, OptimizationMarker::kCompileTurbofan_Concurrent,
Runtime::kCompileTurbofan_Concurrent, function); Runtime::kCompileTurbofan_Concurrent, function);
TailCallRuntimeIfMarkerEquals(
marker, OptimizationMarker::kCompileMaglev_NotConcurrent,
Runtime::kCompileMaglev_NotConcurrent, function);
TailCallRuntimeIfMarkerEquals(marker,
OptimizationMarker::kCompileMaglev_Concurrent,
Runtime::kCompileMaglev_Concurrent, function);
Unreachable(); Unreachable();
BIND(&may_have_optimized_code); BIND(&may_have_optimized_code);