at.dms.kjc
Class CodeLabel

java.lang.Object
  |
  +--at.dms.classfile.AbstractInstructionAccessor
        |
        +--at.dms.kjc.CodeLabel
All Implemented Interfaces:
InstructionAccessor

class CodeLabel
extends AbstractInstructionAccessor

This class represents a position in the code array where the associated instruction has not yet been generated.


Constructor Summary
CodeLabel()
          Constructs a new code label.
 
Method Summary
 int getAddress()
          Returns the address of the label in the code array.
 boolean hasAddress()
          Returns true iff the label has already been planted.
 void setAddress(int address)
          Sets the address of the label in the code array.
 
Methods inherited from class at.dms.classfile.AbstractInstructionAccessor
transform
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeLabel

public CodeLabel()
Constructs a new code label.
Method Detail

setAddress

public void setAddress(int address)
Sets the address of the label in the code array.

getAddress

public int getAddress()
Returns the address of the label in the code array.

hasAddress

public boolean hasAddress()
Returns true iff the label has already been planted.