Revert "[scanner] Faster SkipMultiLineComment by avoiding a copy."
This reverts commit 9c4200b2. Reason for revert: breaks arm64 msan: https://ci.chromium.org/p/v8/builders/luci.v8.ci/V8%20Linux%20-%20arm64%20-%20sim%20-%20MSAN/22108 Original change's description: > [scanner] Faster SkipMultiLineComment by avoiding a copy. > > Avoid coping the last character to a local variable, by checking the parsing > state in a different order. > > BUG=v8:7926 > > Change-Id: I0b62f711674beac8c81a25dd566a5ed0d681948b > Reviewed-on: https://chromium-review.googlesource.com/1148456 > Commit-Queue: Florian Sattler <sattlerf@google.com> > Reviewed-by: Marja Hölttä <marja@chromium.org> > Cr-Commit-Position: refs/heads/master@{#54657} TBR=marja@chromium.org,sattlerf@google.com Change-Id: I665bce8214e6d0b8f8a619820ff13f37bc722332 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: v8:7926 Reviewed-on: https://chromium-review.googlesource.com/1148620Reviewed-by: Clemens Hammacher <clemensh@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#54658}
Showing
Please
register
or
sign in
to comment