Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: src/compiler/access-info.h

Issue 2517913002: [turbofan] Introduce LoadFunctionPrototype simplified operator. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/access-info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/access-info.h
diff --git a/src/compiler/access-info.h b/src/compiler/access-info.h
index 1d485dd0d4cf1a14a4aa1bc92fc181f7a549808d..285657e8d4790722f7e5a15769364e7ad1fc14b9 100644
--- a/src/compiler/access-info.h
+++ b/src/compiler/access-info.h
@@ -62,6 +62,7 @@ class PropertyAccessInfo final {
kDataConstant,
kDataField,
kAccessorConstant,
+ kFunctionPrototype,
kGeneric
};
@@ -79,6 +80,7 @@ class PropertyAccessInfo final {
static PropertyAccessInfo AccessorConstant(MapList const& receiver_maps,
Handle<Object> constant,
MaybeHandle<JSObject> holder);
+ static PropertyAccessInfo FunctionPrototype(MapList const& receiver_maps);
static PropertyAccessInfo Generic(MapList const& receiver_maps);
PropertyAccessInfo();
@@ -89,6 +91,7 @@ class PropertyAccessInfo final {
bool IsDataConstant() const { return kind() == kDataConstant; }
bool IsDataField() const { return kind() == kDataField; }
bool IsAccessorConstant() const { return kind() == kAccessorConstant; }
+ bool IsFunctionPrototype() const { return kind() == kFunctionPrototype; }
bool IsGeneric() const { return kind() == kGeneric; }
bool HasTransitionMap() const { return !transition_map().is_null(); }
« no previous file with comments | « no previous file | src/compiler/access-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698