Lines Matching defs:approx
162 HFieldApproximation* approx = fields_[i];
164 while (approx != NULL) {
166 HFieldApproximation* other = that->Find(approx->object_, i);
167 if (other == NULL || !Equal(approx->last_value_, other->last_value_)) {
170 prev->next_ = approx->next_;
172 fields_[i] = approx->next_;
174 approx = approx->next_;
177 prev = approx;
178 approx = approx->next_;
196 HFieldApproximation* approx = FindOrCreate(object, field);
198 if (approx->last_value_ == NULL) {
200 approx->last_load_ = instr;
201 approx->last_value_ = instr;
205 return approx->last_value_;
227 HFieldApproximation* approx = FindOrCreate(object, field);
229 if (Equal(approx->last_value_, value)) {
234 approx->last_load_ = NULL;
235 approx->last_value_ = value;
286 HFieldApproximation* approx = fields_[field];
287 while (approx != NULL) {
288 if (aliasing_->MustAlias(object, approx->object_)) return approx;
289 approx = approx->next_;
299 HFieldApproximation* approx = fields_[field];
301 while (approx != NULL) {
302 if (aliasing_->MustAlias(object, approx->object_)) return approx;
304 approx = approx->next_;
309 approx = ReuseLastApproximation(field);
312 approx = new(zone_) HFieldApproximation();
316 approx->object_ = object;
317 approx->last_load_ = NULL;
318 approx->last_value_ = NULL;
319 approx->next_ = fields_[field];
320 fields_[field] = approx;
322 return approx;
330 HFieldApproximation* approx = fields_[field];
332 while (approx != NULL) {
333 if (aliasing_->MayAlias(object, approx->object_)) {
334 if (!Equal(approx->last_value_, value)) {
337 prev->next_ = approx->next_;
339 fields_[field] = approx->next_;
341 approx = approx->next_;
345 prev = approx;
346 approx = approx->next_;
362 HFieldApproximation* approx = fields_[field];
363 ASSERT(approx != NULL);
366 while (approx->next_ != NULL) {
367 prev = approx;
368 approx = approx->next_;
371 return approx;