[turbofan] Split JSNativeContextSpecialization::BuildElementAccess

Change-Id: I69a0ac55d5a9aeae91e913e223a58c37b81091d3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4147623
Commit-Queue: Maya Lekova <mslekova@chromium.org>
Auto-Submit: Nico Hartmann <nicohartmann@chromium.org>
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85158}
This commit is contained in:
Nico Hartmann 2023-01-09 18:05:46 +01:00 committed by V8 LUCI CQ
parent dc7a7545a4
commit 0b327a7c61
2 changed files with 560 additions and 546 deletions

File diff suppressed because it is too large Load Diff

View File

@ -193,6 +193,10 @@ class V8_EXPORT_PRIVATE JSNativeContextSpecialization final
Node* control, Node* context,
ElementAccessInfo const& access_info,
KeyedAccessMode const& keyed_mode);
ValueEffectControl BuildElementAccessForTypedArrayOrRabGsabTypedArray(
ElementsKind elements_kind, Node* receiver, Node* index, Node* value,
Node* effect, Node* control, Node* context,
ElementAccessInfo const& access_info, KeyedAccessMode const& keyed_mode);
// Construct appropriate subgraph to load from a String.
Node* BuildIndexedStringLoad(Node* receiver, Node* index, Node* length,