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

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

Issue 2293343002: [turbofan] Remove remaining uses of Class type from the compiler. (Closed)
Patch Set: Created 4 years, 4 months 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 68ba66fb2f8739bd0ed02cfd4f53ddd08855b21c..1a01eb3daa2eb7f189c454b14d2aa1b260c8c6b0 100644
--- a/src/compiler/access-info.h
+++ b/src/compiler/access-info.h
@@ -71,6 +71,7 @@ class PropertyAccessInfo final {
static PropertyAccessInfo DataField(
MapList const& receiver_maps, FieldIndex field_index,
MachineRepresentation field_representation, Type* field_type,
+ MaybeHandle<Map> field_map = MaybeHandle<Map>(),
MaybeHandle<JSObject> holder = MaybeHandle<JSObject>(),
MaybeHandle<Map> transition_map = MaybeHandle<Map>());
static PropertyAccessInfo AccessorConstant(MapList const& receiver_maps,
@@ -97,6 +98,7 @@ class PropertyAccessInfo final {
MachineRepresentation field_representation() const {
return field_representation_;
}
+ MaybeHandle<Map> field_map() const { return field_map_; }
MapList const& receiver_maps() const { return receiver_maps_; }
private:
@@ -107,7 +109,8 @@ class PropertyAccessInfo final {
PropertyAccessInfo(MaybeHandle<JSObject> holder,
MaybeHandle<Map> transition_map, FieldIndex field_index,
MachineRepresentation field_representation,
- Type* field_type, MapList const& receiver_maps);
+ Type* field_type, MaybeHandle<Map> field_map,
+ MapList const& receiver_maps);
Kind kind_;
MapList receiver_maps_;
@@ -117,6 +120,7 @@ class PropertyAccessInfo final {
FieldIndex field_index_;
MachineRepresentation field_representation_;
Type* field_type_;
+ MaybeHandle<Map> field_map_;
};
« 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