-
Emanuel Ziegler authored
When importing a JS function, Wasm tries to guess the type of function (parameters & strict/sloppy mode). This can sometimes fail which leads to re-creation of the wrapper. With this change, the same wrapper can be used for strict and sloppy mode requiring the re-creation only on arity mismatch. R=mstarzinger@chromium.org Change-Id: I77ec2b853153dec0772873cfb60c064a74065732 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1921793Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Emanuel Ziegler <ecmziegler@chromium.org> Cr-Commit-Position: refs/heads/master@{#65064}
7d74acdf