v8/test/cctest/interpreter
Swapnil Gaikwad ac8acab28f Add GetIterator bytecode to load object[Symbol.iterator] in accumulator
This is the first in a series of changes to reduce the number of
bytecodes generated for the iteration protocol based operations.
The GetIterator bytecode introduced in this change currently loads the
@@iterator symbol from an object that was previously done using the
LdaNamedProperty bytecode. This change uses builtin-based mechanism
that would be extended to perform additional operations in the future
on absorbing the bytecodes associated with the GetIterator operation
from the iteration protocol.

Bug: v8:9489
Change-Id: I83b8b55c27bae8260bf227f355eeca1ba80cd8f0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1701852
Commit-Queue: Swapnil Gaikwad <swapnilgaikwad@google.com>
Reviewed-by: Michael Stanton <mvstanton@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63139}
2019-08-09 07:58:32 +00:00
..
bytecode_expectations Add GetIterator bytecode to load object[Symbol.iterator] in accumulator 2019-08-09 07:58:32 +00:00
bytecode-expectations-printer.cc [modules] Introduce SourceTextModule class 2019-06-19 17:54:52 +00:00
bytecode-expectations-printer.h Enable cpplint 'runtime/references' warning 2019-07-08 09:59:36 +00:00
generate-bytecode-expectations.cc [test] Fix return of int from bool function 2019-07-19 17:07:11 +00:00
interpreter-tester.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
interpreter-tester.h Move remaining files in src/ 2019-05-24 18:24:36 +00:00
source-position-matcher.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
source-position-matcher.h Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-bytecode-generator.cc [class] fix super access in private methods 2019-08-07 10:56:43 +00:00
test-interpreter-intrinsics.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-interpreter.cc [tests] Disable stress mode in source collection tests 2019-07-19 15:16:16 +00:00
test-source-positions.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00