edu.cmu.cs.crystal.tac.model
Interface TACArrayAccess

All Superinterfaces:
TACInstruction
All Known Subinterfaces:
LoadArrayInstruction, StoreArrayInstruction

public interface TACArrayAccess
extends TACInstruction

x[y]

Since:
6/13/2008
Author:
Kevin Bierhoff

Method Summary
 Variable getAccessedArrayOperand()
          Returns the array from which a cell is loaded.
 Variable getArrayIndex()
          Returns the operand representing the index of the array access.
 
Methods inherited from interface edu.cmu.cs.crystal.tac.model.TACInstruction
getNode, transfer, transfer
 

Method Detail

getAccessedArrayOperand

Variable getAccessedArrayOperand()
Returns the array from which a cell is loaded.

Returns:
the array from which a cell is loaded.

getArrayIndex

Variable getArrayIndex()
Returns the operand representing the index of the array access.

Returns:
the operand representing the index of the array access.