• Toon Verwaest's avatar
    Revert "[parser] Use memcmp for keyword checks" · 8da2afaa
    Toon Verwaest authored
    This reverts commit 5616f91a.
    
    Reason for revert: Tanks performance on codeload/ia32 by >1%
    
    Original change's description:
    > [parser] Use memcmp for keyword checks
    > 
    > Small readability increase for the keyword check magic, using memcmp
    > instead of a chain of raw comparisons. Could allow better codegen for
    > memcmp-aware compilers, though in practice seems to have little effect
    > on generated code.
    > 
    > Change-Id: I91020fe67cebc9270c61c4c678e15217e436afff
    > Reviewed-on: https://chromium-review.googlesource.com/c/1340291
    > Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    > Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#57595}
    
    TBR=leszeks@chromium.org,verwaest@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Change-Id: Ifd4070efb3e692eb70e5d8b3adb04d7d7e45ef0e
    Reviewed-on: https://chromium-review.googlesource.com/c/1345994Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#57665}
    8da2afaa
Name
Last commit
Last update
..
OWNERS Loading commit data...
expression-classifier.h Loading commit data...
expression-scope-reparenter.cc Loading commit data...
expression-scope-reparenter.h Loading commit data...
func-name-inferrer.cc Loading commit data...
func-name-inferrer.h Loading commit data...
parse-info.cc Loading commit data...
parse-info.h Loading commit data...
parser-base.h Loading commit data...
parser.cc Loading commit data...
parser.h Loading commit data...
parsing.cc Loading commit data...
parsing.h Loading commit data...
pattern-rewriter.cc Loading commit data...
preparsed-scope-data-impl.h Loading commit data...
preparsed-scope-data.cc Loading commit data...
preparsed-scope-data.h Loading commit data...
preparser-logger.h Loading commit data...
preparser.cc Loading commit data...
preparser.h Loading commit data...
rewriter.cc Loading commit data...
rewriter.h Loading commit data...
scanner-character-streams.cc Loading commit data...
scanner-character-streams.h Loading commit data...
scanner-inl.h Loading commit data...
scanner.cc Loading commit data...
scanner.h Loading commit data...
token.cc Loading commit data...
token.h Loading commit data...