• 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
..
heap-tester.h Loading commit data...
heap-utils.cc Loading commit data...
heap-utils.h Loading commit data...
test-alloc.cc Loading commit data...
test-array-buffer-tracker.cc Loading commit data...
test-compaction.cc Loading commit data...
test-concurrent-marking.cc Loading commit data...
test-embedder-tracing.cc Loading commit data...
test-external-string-tracker.cc Loading commit data...
test-heap.cc Loading commit data...
test-incremental-marking.cc Loading commit data...
test-invalidated-slots.cc Loading commit data...
test-lab.cc Loading commit data...
test-mark-compact.cc Loading commit data...
test-page-promotion.cc Loading commit data...
test-spaces.cc Loading commit data...
test-unmapper.cc Loading commit data...
test-weak-references.cc Loading commit data...