@@ -125,7 +125,8 @@ V8_EXPORT_PRIVATE int ParameterIndexOf(const Operator* const);
125125const ParameterInfo& ParameterInfoOf (const Operator* const );
126126
127127struct ObjectStateInfo final : std::pair<uint32_t , int > {
128- using std::pair<uint32_t , int >::pair;
128+ ObjectStateInfo (uint32_t object_id, int size)
129+ : std::pair<uint32_t , int >(object_id, size) {}
129130 uint32_t object_id () const { return first; }
130131 int size () const { return second; }
131132};
@@ -134,7 +135,10 @@ size_t hash_value(ObjectStateInfo const& p);
134135
135136struct TypedObjectStateInfo final
136137 : std::pair<uint32_t , const ZoneVector<MachineType>*> {
137- using std::pair<uint32_t , const ZoneVector<MachineType>*>::pair;
138+ TypedObjectStateInfo (uint32_t object_id,
139+ const ZoneVector<MachineType>* machine_types)
140+ : std::pair<uint32_t , const ZoneVector<MachineType>*>(object_id,
141+ machine_types) {}
138142 uint32_t object_id () const { return first; }
139143 const ZoneVector<MachineType>* machine_types () const { return second; }
140144};
@@ -385,8 +389,8 @@ class V8_EXPORT_PRIVATE CommonOperatorBuilder final
385389 SparseInputMask bitmask);
386390 const Operator* ArgumentsElementsState (bool is_rest);
387391 const Operator* ArgumentsLengthState (bool is_rest);
388- const Operator* ObjectState (int object_id, int pointer_slots);
389- const Operator* TypedObjectState (int object_id,
392+ const Operator* ObjectState (uint32_t object_id, int pointer_slots);
393+ const Operator* TypedObjectState (uint32_t object_id,
390394 const ZoneVector<MachineType>* types);
391395 const Operator* FrameState (BailoutId bailout_id,
392396 OutputFrameStateCombine state_combine,
0 commit comments