• 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
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
runtime-array.cc Loading commit data...
runtime-atomics.cc Loading commit data...
runtime-bigint.cc Loading commit data...
runtime-classes.cc Loading commit data...
runtime-collections.cc Loading commit data...
runtime-compiler.cc Loading commit data...
runtime-date.cc Loading commit data...
runtime-debug.cc Loading commit data...
runtime-forin.cc Loading commit data...
runtime-function.cc Loading commit data...
runtime-futex.cc Loading commit data...
runtime-generator.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-interpreter.cc Loading commit data...
runtime-intl.cc Loading commit data...
runtime-literals.cc Loading commit data...
runtime-module.cc Loading commit data...
runtime-numbers.cc Loading commit data...
runtime-object.cc Loading commit data...
runtime-operators.cc Loading commit data...
runtime-promise.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.cc Loading commit data...
runtime-strings.cc Loading commit data...
runtime-symbol.cc Loading commit data...
runtime-test.cc Loading commit data...
runtime-typedarray.cc Loading commit data...
runtime-utils.h Loading commit data...
runtime-wasm.cc Loading commit data...
runtime-weak-refs.cc Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...