typeRestrictionCondition

Create an L2MeetsRestrictionCondition that is true when any of the ancestors of the given registers satisfies the given TypeRestriction.

Return

The L2MeetsRestrictionCondition.

Parameters

startingRegisters

The registers from which to search for ancestors.

requiredRestriction

The TypeRestriction that will be applied to the ancestor L2SemanticValues when determining if the condition holds at some point in the L2ControlFlowGraph.