Package soot.toolkits.scalar
Class FastColorer
- java.lang.Object
-
- soot.toolkits.scalar.FastColorer
-
public class FastColorer extends Object
Provides methods for register coloring. Jimple uses these methods to assign the local slots appropriately.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <G> voidassignColorsToLocals(Body unitBody, Map<Local,G> localToGroup, Map<Local,Integer> localToColor, Map<G,Integer> groupToColorCount)Provides an economical coloring for the locals ofunitBody.static <G> voidunsplitAssignColorsToLocals(Body unitBody, Map<Local,G> localToGroup, Map<Local,Integer> localToColor, Map<G,Integer> groupToColorCount)Provides a coloring for the locals ofunitBody, attempting to not split locals assigned the same name in the original Jimple.
-
-
-
Method Detail
-
unsplitAssignColorsToLocals
public static <G> void unsplitAssignColorsToLocals(Body unitBody, Map<Local,G> localToGroup, Map<Local,Integer> localToColor, Map<G,Integer> groupToColorCount)
Provides a coloring for the locals ofunitBody, attempting to not split locals assigned the same name in the original Jimple.
-
-