harpoon.IR.Bytecode
Class InRet

java.lang.Object
  extended by harpoon.IR.Bytecode.Instr
      extended by harpoon.IR.Bytecode.InCti
          extended by harpoon.IR.Bytecode.InRet
All Implemented Interfaces:
HCodeElement, CFGraphable<Instr,harpoon.IR.Bytecode.InstrEdge>, Graph.Node<Instr,harpoon.IR.Bytecode.InstrEdge>, Comparable<Instr>

public class InRet
extends InCti

InRet is an InCti with an operand.

Version:
$Id: InRet.java,v 1.2 2002/02/25 21:04:17 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Field Summary
 
Fields inherited from class harpoon.IR.Bytecode.Instr
arrayFactory
 
Constructor Summary
InRet(String sourcefile, int linenumber, byte[] code, int pc)
          Creates a InRet.
 
Method Summary
 OpLocalVariable getOperand()
          Returns the local variable operand of the RET instruction.
 String toString()
          Return human-readable instruction string.
 
Methods inherited from class harpoon.IR.Bytecode.InCti
getOpcode
 
Methods inherited from class harpoon.IR.Bytecode.Instr
compareTo, edgeC, edges, equals, getID, getLineNumber, getSourceFile, hashCode, isPred, isSucc, newEdge, next, next, pred, predC, prev, prev, succ, succC
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InRet

public InRet(String sourcefile,
             int linenumber,
             byte[] code,
             int pc)
Creates a InRet.

Method Detail

getOperand

public OpLocalVariable getOperand()
Returns the local variable operand of the RET instruction.


toString

public String toString()
Description copied from class: InCti
Return human-readable instruction string.

Overrides:
toString in class InCti