• Home
  • Raw
  • Download

Lines Matching full:that

97     DependChainInfo* that = new (chunk_) DependChainInfo(*this);  in UpdateProperty()  local
99 that->propertyMap_ = new ChunkMap<PropertyInfo, GateRef>(*propertyMap_); in UpdateProperty()
101 that->propertyMap_ = new ChunkMap<PropertyInfo, GateRef>(chunk_); in UpdateProperty()
103 that->propertyMap_->insert(std::make_pair(*info, gate)); in UpdateProperty()
104 return that; in UpdateProperty()
109 DependChainInfo* that = new (chunk_) DependChainInfo(*this); in UpdateElement() local
111 that->elementMap_ = new ChunkMap<ElementInfo, GateRef>(*elementMap_); in UpdateElement()
113 that->elementMap_ = new ChunkMap<ElementInfo, GateRef>(chunk_); in UpdateElement()
115 that->elementMap_->insert(std::make_pair(*info, gate)); in UpdateElement()
116 return that; in UpdateElement()
121 DependChainInfo* that = new (chunk_) DependChainInfo(*this); in UpdateArrayLength() local
123 that->arrayLengthMap_ = new ChunkMap<ArrayLengthInfo, GateRef>(*arrayLengthMap_); in UpdateArrayLength()
125 that->arrayLengthMap_ = new ChunkMap<ArrayLengthInfo, GateRef>(chunk_); in UpdateArrayLength()
127 that->arrayLengthMap_->insert(std::make_pair(*info, gate)); in UpdateArrayLength()
128 return that; in UpdateArrayLength()
133 DependChainInfo* that = new (chunk_) DependChainInfo(*this); in UpdatePrimitiveTypeCheck() local
135that->primitiveTypeCheckSet_ = new ChunkSet<PrimitiveTypeCheckInfo>(*primitiveTypeCheckSet_); in UpdatePrimitiveTypeCheck()
137 that->primitiveTypeCheckSet_ = new ChunkSet<PrimitiveTypeCheckInfo>(chunk_); in UpdatePrimitiveTypeCheck()
139 that->primitiveTypeCheckSet_->insert(*info); in UpdatePrimitiveTypeCheck()
140 return that; in UpdatePrimitiveTypeCheck()
145 DependChainInfo* that = new (chunk_) DependChainInfo(*this); in UpdateInt32OverflowCheck() local
147that->int32OverflowCheckSet_ = new ChunkSet<Int32OverflowCheckInfo>(*int32OverflowCheckSet_); in UpdateInt32OverflowCheck()
149 that->int32OverflowCheckSet_ = new ChunkSet<Int32OverflowCheckInfo>(chunk_); in UpdateInt32OverflowCheck()
151 that->int32OverflowCheckSet_->insert(*info); in UpdateInt32OverflowCheck()
152 return that; in UpdateInt32OverflowCheck()
157 DependChainInfo* that = new (chunk_) DependChainInfo(*this); in UpdateArrayCheck() local
159 that->arrayCheckSet_ = new ChunkSet<ArrayCheckInfo>(*arrayCheckSet_); in UpdateArrayCheck()
161 that->arrayCheckSet_ = new ChunkSet<ArrayCheckInfo>(chunk_); in UpdateArrayCheck()
163 that->arrayCheckSet_->insert(*info); in UpdateArrayCheck()
164 return that; in UpdateArrayCheck()
169 DependChainInfo* that = new (chunk_) DependChainInfo(*this); in UpdateStableArrayCheck() local
171 that->stableArrayCheckSet_ = new ChunkSet<StableArrayCheckInfo>(*stableArrayCheckSet_); in UpdateStableArrayCheck()
173 that->stableArrayCheckSet_ = new ChunkSet<StableArrayCheckInfo>(chunk_); in UpdateStableArrayCheck()
175 that->stableArrayCheckSet_->insert(*info); in UpdateStableArrayCheck()
176 return that; in UpdateStableArrayCheck()
181 DependChainInfo* that = new (chunk_) DependChainInfo(*this); in UpdateTypedArrayCheck() local
183 that->typedArrayCheckSet_ = new ChunkSet<TypedArrayCheckInfo>(*typedArrayCheckSet_); in UpdateTypedArrayCheck()
185 that->typedArrayCheckSet_ = new ChunkSet<TypedArrayCheckInfo>(chunk_); in UpdateTypedArrayCheck()
187 that->typedArrayCheckSet_->insert(*info); in UpdateTypedArrayCheck()
188 return that; in UpdateTypedArrayCheck()
193 DependChainInfo* that = new (chunk_) DependChainInfo(*this); in UpdateObjectTypeCheck() local
195 that->objectTypeCheckSet_ = new ChunkSet<ObjectTypeCheckInfo>(*objectTypeCheckSet_); in UpdateObjectTypeCheck()
197 that->objectTypeCheckSet_ = new ChunkSet<ObjectTypeCheckInfo>(chunk_); in UpdateObjectTypeCheck()
199 that->objectTypeCheckSet_->insert(*info); in UpdateObjectTypeCheck()
200 return that; in UpdateObjectTypeCheck()
205 DependChainInfo* that = new (chunk_) DependChainInfo(*this); in UpdateIndexCheck() local
207 that->indexCheckSet_ = new ChunkSet<IndexCheckInfo>(*indexCheckSet_); in UpdateIndexCheck()
209 that->indexCheckSet_ = new ChunkSet<IndexCheckInfo>(chunk_); in UpdateIndexCheck()
211 that->indexCheckSet_->insert(*info); in UpdateIndexCheck()
212 return that; in UpdateIndexCheck()
217 DependChainInfo* that = new (chunk_) DependChainInfo(*this); in UpdateTypedCallCheck() local
219 that->typedCallCheckSet_ = new ChunkSet<TypedCallCheckInfo>(*typedCallCheckSet_); in UpdateTypedCallCheck()
221 that->typedCallCheckSet_ = new ChunkSet<TypedCallCheckInfo>(chunk_); in UpdateTypedCallCheck()
223 that->typedCallCheckSet_->insert(*info); in UpdateTypedCallCheck()
224 return that; in UpdateTypedCallCheck()
229 DependChainInfo* that = new (chunk_) DependChainInfo(*this); in UpdateFrameState() local
230 that->frameState_ = gate; in UpdateFrameState()
231 return that; in UpdateFrameState()
237 DependChainInfo* that = new (chunk_) DependChainInfo(chunk_); in UpdateWrite() local
238 that->primitiveTypeCheckSet_ = primitiveTypeCheckSet_; in UpdateWrite()
239 that->int32OverflowCheckSet_ = int32OverflowCheckSet_; in UpdateWrite()
240 return that; in UpdateWrite()
259 bool DependChainInfo::Equal(DependChainInfo* that) in Equal() argument
261 if (this == that) return true; in Equal()
262 if (that == nullptr) return false; in Equal()
263 return *this == *that; in Equal()
304 DependChainInfo* DependChainInfo::Merge(DependChainInfo* that) in Merge() argument
306 if (Equal(that)) { in Merge()
307 return that; in Merge()
310 newInfo->elementMap_ = MergeMap<ElementInfo, GateRef>(elementMap_, that->elementMap_); in Merge()
311 newInfo->propertyMap_ = MergeMap<PropertyInfo, GateRef>(propertyMap_, that->propertyMap_); in Merge()
312 …newInfo->arrayLengthMap_ = MergeMap<ArrayLengthInfo, GateRef>(arrayLengthMap_, that->arrayLengthMa… in Merge()
314 MergeSet<PrimitiveTypeCheckInfo>(primitiveTypeCheckSet_, that->primitiveTypeCheckSet_); in Merge()
316 MergeSet<Int32OverflowCheckInfo>(int32OverflowCheckSet_, that->int32OverflowCheckSet_); in Merge()
317 newInfo->arrayCheckSet_ = MergeSet<ArrayCheckInfo>(arrayCheckSet_, that->arrayCheckSet_); in Merge()
318 …newInfo->stableArrayCheckSet_ = MergeSet<StableArrayCheckInfo>(stableArrayCheckSet_, that->stableA… in Merge()
319 …newInfo->typedArrayCheckSet_ = MergeSet<TypedArrayCheckInfo>(typedArrayCheckSet_, that->typedArray… in Merge()
320 …newInfo->objectTypeCheckSet_ = MergeSet<ObjectTypeCheckInfo>(objectTypeCheckSet_, that->objectType… in Merge()
321 newInfo->indexCheckSet_ = MergeSet<IndexCheckInfo>(indexCheckSet_, that->indexCheckSet_); in Merge()
322 …newInfo->typedCallCheckSet_ = MergeSet<TypedCallCheckInfo>(typedCallCheckSet_, that->typedCallChec… in Merge()
323 newInfo->frameState_ = frameState_ == that->frameState_ ? frameState_ : Circuit::NullGate(); in Merge()