v8/test
Caitlin Potter fbcf0221fa [CloneObjectIC] add CSA implementation of slow case
The CSA implementation is a separate handler so that TF has the
opportunity to reduce to a direct call, skipping some of the dispatching
in the CloneObjectIC stub.

This patch moves the looping over a source object's keys and values into the
base CodeStubAssembler, so that it can be shared between ObjectAssignFast
and CloneObjectIC_Slow.

During each step of the loop, storing is delegated to a new SetPropertyInLiteral
helper in KeyedStoreGenericGenerator, which performs a store without consulting
the prototype chain, and automatically reconfigures accessors into data
properties regardless of their attributes.

BUG=v8:8067, v8:7611
R=ishell@chromium.org, jkummerow@chromium.org

Change-Id: I06ae89f37e9b4265aab67389cf68a96529f90578
Reviewed-on: https://chromium-review.googlesource.com/1182122
Commit-Queue: Caitlin Potter <caitp@igalia.com>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55806}
2018-09-11 20:43:53 +00:00
..
benchmarks [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
cctest [parser] Use more range checks to reduce branches 2018-09-11 19:56:10 +00:00
common [ptr-compr] Explicitly pass v8::PageAllocator instance to helper functions. 2018-09-06 14:45:58 +00:00
debugger [test] Skip some tests on gc fuzzer 2018-09-07 18:35:52 +00:00
fuzzer Reland "[wasm] Implement the new API for WebAssembly.instantiateStreaming" 2018-08-14 08:20:19 +00:00
inspector [test] Add non-d8 test suites to Android testing 2018-09-11 11:12:21 +00:00
intl [intl] Port numberformat#resolvedOptions to C++ 2018-09-11 20:01:37 +00:00
js-perf-test [builtins] Add FastCallFunction builtin that elides some checks 2018-09-11 07:31:32 +00:00
memory [builtins] Add embedded stats to --serialization-statistics 2018-07-05 12:33:26 +00:00
message Reland "[test] Increase coverage of d8_default test suites" 2018-09-07 07:53:29 +00:00
mjsunit [CloneObjectIC] add CSA implementation of slow case 2018-09-11 20:43:53 +00:00
mkgrokdump Implement global proposal 2018-08-16 11:07:21 +00:00
mozilla [test] Add more test suites to Android testing 2018-09-07 09:53:15 +00:00
preparser [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
test262 [Intl] fix formatToPart generate unit in plural if pass in plural as unit. 2018-09-11 10:02:04 +00:00
torque [torque] Fix all current lint errors in Torque code 2018-09-11 14:11:05 +00:00
unittests [turbofan] Reduce overhead of megamorphic property accesses. 2018-09-11 18:04:01 +00:00
wasm-spec-tests [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
webkit Reland "[interpreter] Add bytecode for leading array spreads." 2018-09-05 09:29:51 +00:00
BUILD.gn Reland "[test] Add logic to run tests on Android" 2018-08-10 17:56:12 +00:00