FileDocCategorySizeDatePackage
ZeroSizeInsn.javaAPI DocAndroid 1.5 API1904Wed May 06 22:41:02 BST 2009com.android.dx.dex.code

ZeroSizeInsn

public abstract class ZeroSizeInsn extends DalvInsn
Pseudo-instruction base class for zero-size (no code emitted) instructions, which are generally used for tracking metainformation about the code they are adjacent to.

Fields Summary
Constructors Summary
public ZeroSizeInsn(com.android.dx.rop.code.SourcePosition position)
Constructs an instance. The output address of this instance is initially unknown (-1).

param
position non-null; source position

        super(Dops.SPECIAL_FORMAT, position, RegisterSpecList.EMPTY);
    
Methods Summary
public final intcodeSize()
{@inheritDoc}

        return 0;
    
public final DalvInsnwithOpcode(Dop opcode)
{@inheritDoc}

        throw new RuntimeException("unsupported");
    
public DalvInsnwithRegisterOffset(int delta)
{@inheritDoc}

        return withRegisters(getRegisters().withOffset(delta));
    
public final voidwriteTo(com.android.dx.util.AnnotatedOutput out)
{@inheritDoc}

        // Nothing to do here, for this class.