v8/tools/dev
Jakob Kummerow 0445fa2971 [lookup] Refactor LookupIterator "property or element" creation
This CL factors out the decision-making logic whether a property key should
be treated as a "property" or "element" into LookupIterator::Key, which can
be constructed on its own, allowing use sites to take this distinction into
account before constructing a LookupIterator from the Key, without needing
to duplicate the logic.
This also makes the assortment of LookupIterator constructors more uniform.

Bug: chromium:1031175
Change-Id: I81d7b11ab7e4915f5c05668138e6e0c51ae11821
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1962272
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65672}
2020-01-09 18:39:11 +00:00
..
gen-tags.py Preparing v8 to use with python3 /tools 2019-02-19 09:12:07 +00:00
gm.py [lookup] Refactor LookupIterator "property or element" creation 2020-01-09 18:39:11 +00:00
v8gen.py Preparing v8 to use with python3 /tools 2019-02-19 09:12:07 +00:00