v8/test/unittests/interpreter
Matt Gardner 803ad32414 Reland "Optimize in operator"
The original was reverted for breaking webkit layout tests:
https://ci.chromium.org/p/v8/builders/luci.v8.ci/V8-Blink%20Linux%2064/30270

It also caused the following clusterfuzz failures:

chromium:935832
This was a correctness bug due to not properly handling the case of arrays with prototypes other
than Array.prototype. Accesses that were TheHole were not being handled property, both in bounds
holes in holey arrays and out of bounds on either holey or packed arrays. Handling was incorrect
both in access-assembler and in Turbofan.

chromium:935932
This bug was that there was no handling for Has checks on the global object. Turbofan was emitting
code for a store (the 'else' condition on 'access_mode == AccessMode::kLoad'). It hit a DCHECK in
debug builds but in release could show up in different places. This is the bug that caused the
webkit layout test failure that led to the revert.

Both bugs are fixed by in CL, and tests are added for those cases.

Bug: v8:8733, chromium:935932, chromium:935832
Change-Id: Iba0dfcfce6e15d2c0815a7670ece67bc13ba1925
Reviewed-on: https://chromium-review.googlesource.com/c/1493132
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Commit-Queue: Matt Gardner <magardn@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#59958}
2019-03-01 09:01:18 +00:00
..
bytecode-array-builder-unittest.cc Reland "Optimize in operator" 2019-03-01 09:01:18 +00:00
bytecode-array-iterator-unittest.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
bytecode-array-random-iterator-unittest.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
bytecode-array-writer-unittest.cc Reland "[ignition] Skip binding dead labels" 2019-02-28 14:06:15 +00:00
bytecode-decoder-unittest.cc [interpreter] Store CreateObjectLiteral's result into the accumulator. 2018-11-08 10:31:45 +00:00
bytecode-node-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
bytecode-operands-unittest.cc [Interpreter] Templatize AccumulatorUsage and OperandType for bytecode creation. 2016-12-15 07:56:21 +00:00
bytecode-register-allocator-unittest.cc [cleanup] Refactor interpreter to use default members. 2018-09-14 16:50:34 +00:00
bytecode-register-optimizer-unittest.cc [cleanup] Refactor interpreter to use default members. 2018-09-14 16:50:34 +00:00
bytecode-source-info-unittest.cc [Interpreter] Remove BytecodePipeline. 2017-04-12 15:18:50 +00:00
bytecode-utils.h [cleanup] Fix kPointerSize in tests 2019-02-14 15:29:52 +00:00
bytecodes-unittest.cc Reland "Optimize in operator" 2019-03-01 09:01:18 +00:00
constant-array-builder-unittest.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
interpreter-assembler-unittest.cc [ptr-compr] Prepare for changing kTaggedSize, pt.1 2019-02-27 15:26:09 +00:00
interpreter-assembler-unittest.h [cleanup] Refactor interpreter to use default members. 2018-09-14 16:50:34 +00:00