• peterwmwong's avatar
    [js] Remove CORE JS Natives (prologue.js), port extra utils to C++/Torque · 263dce9b
    peterwmwong authored
    - Removes the last `CORE` JS native script: `prologue.js`.
    - Removes build step and bootstrapping associated with building/loading `CORE` JS natives.
    - Removes `natives_utils_object` from context.
    - Deprecates `--expose-natives-as` flag.
    - Ports extra utils functions to C++ (`uncurryThis`) or Torque
      (`createPrivateSymbol`, `markPromiseAsHandled`, and `promiseState`).
    - Move extra utils constants initialization into bootstrapper
      (`kPROMISE_PENDING`, `kPROMISE_FULFILLED`, `kPROMISE_REJECTED`).
    - Removes unused extra utils functions `log` and `logStackTrace`.
    
    Drive-by: Added test coverage for Array#includes being an unscopeable.
    
    Bug: v8:7624
    Change-Id: I5d983f8d11b76cb4dd3c2c67592ce1dc88364cd9
    Reviewed-on: https://chromium-review.googlesource.com/c/1381672Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Commit-Queue: Peter Wong <peter.wm.wong@gmail.com>
    Cr-Commit-Position: refs/heads/master@{#58577}
    263dce9b
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...