copyWith method

  1. @override
Operation copyWith({
  1. SSA? writesTo,
  2. Set<SSA>? readsFrom,
})
override

Creates a copy of this operation with the given writesTo and readsFrom variables.

Implementation

@override
Operation copyWith({SSA? writesTo, Set<SSA>? readsFrom}) {
  return PhiNode(writesTo ?? target, readsFrom ?? sources);
}