[maglev] Fix wrong EmitDeoptIf instead of EmitEagerDeoptIf

A recent CL refactored some Deopts
(https://chromium-review.googlesource.com/c/v8/v8/+/4120575), and
mistakenly wrote EmitDeoptIf (which isn't an existing function)
instead of EmitEagerDeoptIf, which broke the Arm64 build (which
isn't covered by the bots yet).

Bug: v8:7700
Change-Id: I1301a26584bd76d1a2608c37c07c58fe990446d3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4128095
Reviewed-by: Jakob Linke <jgruber@chromium.org>
Commit-Queue: Darius Mercadier <dmercadier@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85026}
This commit is contained in:
Darius M 2022-12-28 09:58:19 +01:00 committed by V8 LUCI CQ
parent 4914da9d01
commit dff5fc1b23

View File

@ -520,7 +520,7 @@ void CheckMapsWithMigration::GenerateCode(MaglevAssembler* masm,
} else if (last_map) {
// If it is the last map and it is not a migration target, we should deopt
// if the check fails.
__ EmitDeoptIf(ne, DeoptimizeReason::kWrongMap, this);
__ EmitEagerDeoptIf(ne, DeoptimizeReason::kWrongMap, this);
}
if (!last_map) {