[API] Enforce that ShouldYield == true is respected
There is a DCHECK in the gin platform that {ShouldYield} is not called again after it already returned {true}. This CL adds a similar DCHECK to the default platform to catch bugs earlier (in d8). R=ahaas@chromium.org, mlippautz@chromium.org Bug: chromium:1277962 Change-Id: I4dc9d880cf6d36e3e497c5324aaf44889fe7fcee Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3644801Reviewed-by: Andreas Haas <ahaas@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/main@{#80611}
Showing
Please
register
or
sign in
to comment