Top Description Fields Constructors Methods
org.droidparts.dexmaker.dx.ssa

public Class MoveParamCombiner

extends Object
Class Inheritance
Imports
org.droidparts.dexmaker.dx.rop.code.CstInsn, .LocalItem, .RegOps, .RegisterSpec, org.droidparts.dexmaker.dx.rop.cst.CstInteger, java.util.HashSet, .List

Combine identical move-param insns, which may result from Ropper's handling of synchronized methods.

Field Summary

Modifier and TypeField and Description
private final SsaMethod
ssaMeth

method to process

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private int

Returns:

>=0; parameter index
getParamIndex
(NormalSsaInsn
non-null; a move-param insn
insn
)

Returns the parameter index associated with a move-param insn.

public static void
process(SsaMethod
method to process
ssaMethod
)

Processes a method with this optimization step.

private void
run()

Runs this optimization step.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ssaMethback to summary
private final SsaMethod ssaMeth

method to process

Constructor Detail

MoveParamCombinerback to summary
private MoveParamCombiner(SsaMethod ssaMeth)

Method Detail

getParamIndexback to summary
private int getParamIndex(NormalSsaInsn insn)

Returns the parameter index associated with a move-param insn. Does not verify that the insn is a move-param insn.

Parameters
insn:NormalSsaInsn

non-null; a move-param insn

Returns:int

>=0; parameter index

processback to summary
public static void process(SsaMethod ssaMethod)

Processes a method with this optimization step.

Parameters
ssaMethod:SsaMethod

method to process

runback to summary
private void run()

Runs this optimization step.