-
Leszek Swirski authored
In the TestTypeOf handler, use the statically known value of the type-of literal flag to emit the specific type-of check for that type, rather than going to the general type-of builtin. These checks are very simple, so we can get away with hand-writing them in the baseline compiler. Bug: v8:11420 Change-Id: Id9f51042916abaea62f929a2f95cf2c64dc32ee3 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2772613 Commit-Queue: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Patrick Thier <pthier@chromium.org> Reviewed-by: Patrick Thier <pthier@chromium.org> Auto-Submit: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/master@{#73520}
d7ed4f97