[wasm] Check for WasmExportedFunction before cast
{WasmInternalFunction::external} might return a function that is not a WasmExportedFunction, at which point the code in ProcessTypeFeedback fails. See crrev.com/c/3277878 for context. Bug: v8:12436 Change-Id: I447710cfa2dbdb64cba27922da85871d18bc79a3 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3303613Reviewed-by: Manos Koukoutos <manoskouk@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#78126}
Showing
Please
register
or
sign in
to comment