• Peter Wong's avatar
    [torque] Port String.prototype.includes/indexOf and StringIndexOf · 5a2c53f9
    Peter Wong authored
    - Removed no longer used StringBuiltinAssembler methods (DispatchOnStringEncodings, PointerToStringDataAtIndex)
    - Removed no longer used Runtime functions (StringIncludes, StringIndexOf, StringIndexOfUnchecked).
    - Overall builtin code size is reduced (652 bytes on Mac x64.release build), builtin size breakdown:
    
    BEFORE
    ======
    TFS Builtin, StringIndexOf, 1092
    TFJ Builtin, StringPrototypeIncludes, 1784
    TFJ Builtin, StringPrototypeIndexOf, 1536
    Total = 4412
    
    AFTER
    =====
    TFC Builtin, StringIndexOf, 2036 (+944)
    TFJ Builtin, StringPrototypeIncludes, 1072 (-712)
    TFJ Builtin, StringPrototypeIndexOf, 652 (-884)
    Total = 3760 (-652)
    
    
    Bug: v8:8996
    Change-Id: I9a88c095e2097f7d570e58e744d6692dc524ddf4
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2660995
    Commit-Queue: Peter Wong <peter.wm.wong@gmail.com>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#72456}
    5a2c53f9
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
wasm/gdb-server Loading commit data...
x64 Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
debug-coverage.cc Loading commit data...
debug-coverage.h Loading commit data...
debug-evaluate.cc Loading commit data...
debug-evaluate.h Loading commit data...
debug-frames.cc Loading commit data...
debug-frames.h Loading commit data...
debug-interface.cc Loading commit data...
debug-interface.h Loading commit data...
debug-property-iterator.cc Loading commit data...
debug-property-iterator.h Loading commit data...
debug-scope-iterator.cc Loading commit data...
debug-scope-iterator.h Loading commit data...
debug-scopes.cc Loading commit data...
debug-scopes.h Loading commit data...
debug-stack-trace-iterator.cc Loading commit data...
debug-stack-trace-iterator.h Loading commit data...
debug-type-profile.cc Loading commit data...
debug-type-profile.h Loading commit data...
debug-wasm-support.cc Loading commit data...
debug-wasm-support.h Loading commit data...
debug.cc Loading commit data...
debug.h Loading commit data...
interface-types.h Loading commit data...
liveedit.cc Loading commit data...
liveedit.h Loading commit data...