Lines Matching refs:that
3 // modification, are permitted provided that the following conditions are
92 // This didn't have name but was frozen already, that's an error.
113 void Interface::Unify(Interface* that, bool* ok) {
114 if (this->forward_) return this->Chase()->Unify(that, ok);
115 if (that->forward_) return this->Unify(that->Chase(), ok);
117 ASSERT(that->forward_ == NULL);
120 if (this == that) return;
121 if (this->IsValue()) return that->MakeValue(ok);
122 if (that->IsValue()) return this->MakeValue(ok);
130 that->Print(Nesting::current());
135 if (this->exports_ != NULL && (that->exports_ == NULL ||
136 this->exports_->occupancy() >= that->exports_->occupancy())) {
137 this->DoUnify(that, ok);
139 that->DoUnify(this, ok);
147 that->Print(Nesting::current());
154 void Interface::DoUnify(Interface* that, bool* ok) {
156 ASSERT(that->forward_ == NULL);
158 ASSERT(!that->IsValue());
165 // Try to merge all members from that into this.
166 ZoneHashMap* map = that->exports_;
174 // If the new interface is larger than that's, then there were members in
175 // 'this' which 'that' didn't have. If 'that' was frozen that is an error.
178 if (that->IsFrozen() && this_size > that_size) {
184 this->flags_ |= that->flags_;
185 that->forward_ = this;