[wasm] Fix loop condition in serialization
JobDelegate::ShouldYield() should not be called anymore after it has already returned true. This CL changes the deserialization of WebAssembly to remember when ShouldYield() returned for the first time, and does not call ShouldYield() afterwards anymore. R=thibaudm@chromium.org Bug: chromium:1277962 Change-Id: Ie84abf30b20d302a19f3192c3859796be1cccd97 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3647361 Commit-Queue: Andreas Haas <ahaas@chromium.org> Reviewed-by: Thibaud Michaud <thibaudm@chromium.org> Cr-Commit-Position: refs/heads/main@{#80522}
Showing
Please
register
or
sign in
to comment