@@ -125,7 +125,8 @@ V8_EXPORT_PRIVATE int ParameterIndexOf(const Operator* const);
125
125
const ParameterInfo& ParameterInfoOf (const Operator* const );
126
126
127
127
struct 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) {}
129
130
uint32_t object_id () const { return first; }
130
131
int size () const { return second; }
131
132
};
@@ -134,7 +135,10 @@ size_t hash_value(ObjectStateInfo const& p);
134
135
135
136
struct TypedObjectStateInfo final
136
137
: 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) {}
138
142
uint32_t object_id () const { return first; }
139
143
const ZoneVector<MachineType>* machine_types () const { return second; }
140
144
};
@@ -385,8 +389,8 @@ class V8_EXPORT_PRIVATE CommonOperatorBuilder final
385
389
SparseInputMask bitmask);
386
390
const Operator* ArgumentsElementsState (bool is_rest);
387
391
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,
390
394
const ZoneVector<MachineType>* types);
391
395
const Operator* FrameState (BailoutId bailout_id,
392
396
OutputFrameStateCombine state_combine,
0 commit comments