public class PhiTypeResolver
extends java.lang.Object
The resolve is done as an iterative merge of each phi's operand types. Phi operands may be themselves be the result of unresolved phis, and the algorithm tries to find the most-fit type (for example, if every operand is the same constant value or the same local variable info, we want that to be reflected).
This algorithm assumes a dead-code remover has already removed all circular-only phis that may have been inserted.
| Modifier and Type | Method and Description |
|---|---|
static void |
process(SsaMethod ssaMeth)
Resolves all phi types in the method
|
public static void process(SsaMethod ssaMeth)
ssaMeth - method to processCopyright © 2020. All Rights Reserved.