Home
last modified time | relevance | path

Searched refs:replace_to (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/compiler/
Dgeneric-node-inl.h60 void GenericNode<B, S>::ReplaceUses(GenericNode* replace_to) { in ReplaceUses() argument
62 use->from->GetInputRecordPtr(use->input_index)->to = replace_to; in ReplaceUses()
64 if (replace_to->last_use_ == NULL) { in ReplaceUses()
65 DCHECK_EQ(NULL, replace_to->first_use_); in ReplaceUses()
66 replace_to->first_use_ = first_use_; in ReplaceUses()
67 replace_to->last_use_ = last_use_; in ReplaceUses()
69 DCHECK_NE(NULL, replace_to->first_use_); in ReplaceUses()
70 replace_to->last_use_->next = first_use_; in ReplaceUses()
71 first_use_->prev = replace_to->last_use_; in ReplaceUses()
72 replace_to->last_use_ = last_use_; in ReplaceUses()
[all …]
Dgeneric-node.h55 inline void ReplaceUses(GenericNode* replace_to);
57 inline void ReplaceUsesIf(UnaryPredicate pred, GenericNode* replace_to);