| Index: src/compiler/access-info.h
|
| diff --git a/src/compiler/access-info.h b/src/compiler/access-info.h
|
| index 8c49a62c5029c321708fe9ed6da8f3de6732bb9c..68ba66fb2f8739bd0ed02cfd4f53ddd08855b21c 100644
|
| --- a/src/compiler/access-info.h
|
| +++ b/src/compiler/access-info.h
|
| @@ -8,6 +8,7 @@
|
| #include <iosfwd>
|
|
|
| #include "src/field-index.h"
|
| +#include "src/machine-type.h"
|
| #include "src/objects.h"
|
| #include "src/zone-containers.h"
|
|
|
| @@ -68,7 +69,8 @@ class PropertyAccessInfo final {
|
| Handle<Object> constant,
|
| MaybeHandle<JSObject> holder);
|
| static PropertyAccessInfo DataField(
|
| - MapList const& receiver_maps, FieldIndex field_index, Type* field_type,
|
| + MapList const& receiver_maps, FieldIndex field_index,
|
| + MachineRepresentation field_representation, Type* field_type,
|
| MaybeHandle<JSObject> holder = MaybeHandle<JSObject>(),
|
| MaybeHandle<Map> transition_map = MaybeHandle<Map>());
|
| static PropertyAccessInfo AccessorConstant(MapList const& receiver_maps,
|
| @@ -92,6 +94,9 @@ class PropertyAccessInfo final {
|
| Handle<Object> constant() const { return constant_; }
|
| FieldIndex field_index() const { return field_index_; }
|
| Type* field_type() const { return field_type_; }
|
| + MachineRepresentation field_representation() const {
|
| + return field_representation_;
|
| + }
|
| MapList const& receiver_maps() const { return receiver_maps_; }
|
|
|
| private:
|
| @@ -101,6 +106,7 @@ class PropertyAccessInfo final {
|
| Handle<Object> constant, MapList const& receiver_maps);
|
| PropertyAccessInfo(MaybeHandle<JSObject> holder,
|
| MaybeHandle<Map> transition_map, FieldIndex field_index,
|
| + MachineRepresentation field_representation,
|
| Type* field_type, MapList const& receiver_maps);
|
|
|
| Kind kind_;
|
| @@ -109,6 +115,7 @@ class PropertyAccessInfo final {
|
| MaybeHandle<Map> transition_map_;
|
| MaybeHandle<JSObject> holder_;
|
| FieldIndex field_index_;
|
| + MachineRepresentation field_representation_;
|
| Type* field_type_;
|
| };
|
|
|
|
|