-
Toon Verwaest authored
Using a OneByte table allows branches to be removed if the function is inlined in a place where we statically know the character is onebyte. This adds support for line terminators. To support 2byte line terminators as well this adds a entries for the lower byte into the table so we can often take a faster path in that case as well. Change-Id: Ibd08d540e0e13047d6c1f675c187f14fda4336c5 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2445471Reviewed-by: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#70286}
dae25c02