Lines Matching defs:replacement
938 // representation or resurrect dead {replacement} nodes.
939 Node* replacement = lookup_result->value;
941 !replacement->IsDead()) {
942 // Introduce a TypeGuard if the type of the {replacement} node is not
944 if (!NodeProperties::GetType(replacement)
948 NodeProperties::GetType(replacement), graph()->zone());
949 replacement = effect =
951 replacement, effect, control);
952 NodeProperties::SetType(replacement, replacement_type);
954 ReplaceWithValue(node, replacement, effect);
955 return Replace(replacement);
1082 if (Node* replacement = state->LookupElement(
1084 // Make sure we don't resurrect dead {replacement} nodes.
1085 // Skip lowering if the type of the {replacement} node is not a subtype
1090 if (!replacement->IsDead() && NodeProperties::GetType(replacement)
1092 ReplaceWithValue(node, replacement, effect);
1093 return Replace(replacement);