Commit 69ca31e2 authored by Andreas Haas's avatar Andreas Haas Committed by V8 LUCI CQ

[wasm] Fix incorrect DCHECK for lazy-compilation + TierDown mode

In TierDown mode, all functions have to be compiled with Liftoff, even
if lazy compilation is enabled.

R=clemensb@chromium.org

Bug: v8:12852
Change-Id: If450563a6768f82439c77ef7c21ecef8e2b25475
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3804255Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82134}
parent b0a3fedb
......@@ -3124,7 +3124,8 @@ void CompilationStateImpl::InitializeCompilationProgress(
lazy_module, native_module_, enabled_features, func_index);
compilation_progress_.push_back(function_progress);
}
DCHECK_IMPLIES(lazy_module, outstanding_baseline_units_ == 0);
DCHECK_IMPLIES(lazy_module && !prefer_liftoff,
outstanding_baseline_units_ == 0);
DCHECK_LE(0, outstanding_baseline_units_);
outstanding_baseline_units_ += num_import_wrappers;
outstanding_export_wrappers_ = num_export_wrappers;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment