summaryrefslogtreecommitdiff
path: root/chromium/v8/src/compiler/property-access-builder.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-09-01 11:08:40 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-10-01 12:16:21 +0000
commit03c549e0392f92c02536d3f86d5e1d8dfa3435ac (patch)
treefe49d170a929b34ba82cd10db1a0bd8e3760fa4b /chromium/v8/src/compiler/property-access-builder.h
parent5d013f5804a0d91fcf6c626b2d6fb6eca5c845b0 (diff)
downloadqtwebengine-chromium-03c549e0392f92c02536d3f86d5e1d8dfa3435ac.tar.gz
BASELINE: Update Chromium to 91.0.4472.160
Change-Id: I0def1f08a2412aeed79a9ab95dd50eb5c3f65f31 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/v8/src/compiler/property-access-builder.h')
-rw-r--r--chromium/v8/src/compiler/property-access-builder.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/chromium/v8/src/compiler/property-access-builder.h b/chromium/v8/src/compiler/property-access-builder.h
index 237f501dbb8..5f81f87e7c3 100644
--- a/chromium/v8/src/compiler/property-access-builder.h
+++ b/chromium/v8/src/compiler/property-access-builder.h
@@ -64,6 +64,10 @@ class PropertyAccessBuilder {
Node* lookup_start_object, Node** effect,
Node** control);
+ // Loads a constant value from a prototype object in dictionary mode and
+ // constant-folds it.
+ Node* FoldLoadDictPrototypeConstant(PropertyAccessInfo const& access_info);
+
// Builds the load for data-field access for minimorphic loads that use
// dynamic map checks. These cannot depend on any information from the maps.
Node* BuildMinimorphicLoadDataField(
@@ -82,9 +86,9 @@ class PropertyAccessBuilder {
CommonOperatorBuilder* common() const;
SimplifiedOperatorBuilder* simplified() const;
- Node* TryBuildLoadConstantDataField(NameRef const& name,
- PropertyAccessInfo const& access_info,
- Node* lookup_start_object);
+ Node* TryFoldLoadConstantDataField(NameRef const& name,
+ PropertyAccessInfo const& access_info,
+ Node* lookup_start_object);
// Returns a node with the holder for the property access described by
// {access_info}.
Node* ResolveHolder(PropertyAccessInfo const& access_info,