TranslationAdvice which conservatively answers
false to all methods.
| Modifier and Type | Field and Description |
|---|---|
| public static final ConservativeTranslationAdvice | THE_ONE
|
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | getMaxOptimalRegisterCount()
Implements org. |
| public boolean | hasConstantOperation(Rop
non-null; the opcodenon-null; the first sourcenon-null; the second sourceImplements org. |
| public boolean | requiresSourcesInOrder(Rop
non-null; opcodenon-null; source listImplements org. |
| THE_ONE | back to summary |
|---|---|
| public static final ConservativeTranslationAdvice THE_ONE
| |
| ConservativeTranslationAdvice | back to summary |
|---|---|
| private ConservativeTranslationAdvice() This class is not publicly instantiable. Use | |
| getMaxOptimalRegisterCount | back to summary |
|---|---|
| public int getMaxOptimalRegisterCount() Implements org. Doc from org. Gets the maximum register width that can be represented optimally. For example, Dex bytecode does not have instruction forms that take register numbers larger than 15 for all instructions so DexTranslationAdvice returns 15 here.
| |
| hasConstantOperation | back to summary |
|---|---|
| public boolean hasConstantOperation(Rop opcode, RegisterSpec sourceA, RegisterSpec sourceB) Implements org. Doc from org. Returns an indication of whether the target can directly represent an instruction with the given opcode operating on the given arguments, where the last source argument is used as a constant. (That is, the last argument must have a type which indicates it is a known constant.) The instruction associated must have exactly two sources.
| |
| requiresSourcesInOrder | back to summary |
|---|---|
| public boolean requiresSourcesInOrder(Rop opcode, RegisterSpecList sources) Implements org. Doc from org. Returns true if the translation target requires the sources of the specified opcode to be in order and contiguous (eg, for an invoke-range)
| |