Java Code Examples for org.jf.dexlib2.iface.instruction.formats.Instruction35c#getRegisterE()

The following examples show how to use org.jf.dexlib2.iface.instruction.formats.Instruction35c#getRegisterE() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ImmutableInstruction35c.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public static ImmutableInstruction35c of(Instruction35c instruction) {
    if (instruction instanceof ImmutableInstruction35c) {
        return (ImmutableInstruction35c)instruction;
    }
    return new ImmutableInstruction35c(
            instruction.getOpcode(),
            instruction.getRegisterCount(),
            instruction.getRegisterC(),
            instruction.getRegisterD(),
            instruction.getRegisterE(),
            instruction.getRegisterF(),
            instruction.getRegisterG(),
            instruction.getReference());
}
 
Example 2
Source File: ImmutableInstruction35c.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public static ImmutableInstruction35c of(Instruction35c instruction) {
    if (instruction instanceof ImmutableInstruction35c) {
        return (ImmutableInstruction35c)instruction;
    }
    return new ImmutableInstruction35c(
            instruction.getOpcode(),
            instruction.getRegisterCount(),
            instruction.getRegisterC(),
            instruction.getRegisterD(),
            instruction.getRegisterE(),
            instruction.getRegisterF(),
            instruction.getRegisterG(),
            instruction.getReference());
}
 
Example 3
Source File: FilledNewArrayInstruction.java    From JAADAS with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Check if register is referenced by this instruction.
 *
 */
private boolean isRegisterUsed(int register) {
    Instruction35c i = (Instruction35c) instruction;
    return register == i.getRegisterD() ||
        register == i.getRegisterE() ||
        register == i.getRegisterF() ||
        register == i.getRegisterG() ||
        register == i.getRegisterC();
}
 
Example 4
Source File: ImmutableInstruction35c.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public static ImmutableInstruction35c of(Instruction35c instruction) {
    if (instruction instanceof ImmutableInstruction35c) {
        return (ImmutableInstruction35c)instruction;
    }
    return new ImmutableInstruction35c(
            instruction.getOpcode(),
            instruction.getRegisterCount(),
            instruction.getRegisterC(),
            instruction.getRegisterD(),
            instruction.getRegisterE(),
            instruction.getRegisterF(),
            instruction.getRegisterG(),
            instruction.getReference());
}
 
Example 5
Source File: ImmutableInstruction35c.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public static ImmutableInstruction35c of(Instruction35c instruction) {
    if (instruction instanceof ImmutableInstruction35c) {
        return (ImmutableInstruction35c)instruction;
    }
    return new ImmutableInstruction35c(
            instruction.getOpcode(),
            instruction.getRegisterCount(),
            instruction.getRegisterC(),
            instruction.getRegisterD(),
            instruction.getRegisterE(),
            instruction.getRegisterF(),
            instruction.getRegisterG(),
            instruction.getReference());
}