joeq.Compiler.Quad
Class Operand.RegisterOperand

java.lang.Object
  extended by joeq.Compiler.Quad.Operand.RegisterOperand
All Implemented Interfaces:
Operand
Enclosing interface:
Operand

public static class Operand.RegisterOperand
extends Object
implements Operand


Nested Class Summary
 
Nested classes/interfaces inherited from interface joeq.Compiler.Quad.Operand
Operand.AConstOperand, Operand.BasicBlockTableOperand, Operand.ConditionOperand, Operand.Const4Operand, Operand.Const8Operand, Operand.ConstOperand, Operand.DConstOperand, Operand.FConstOperand, Operand.FieldOperand, Operand.IConstOperand, Operand.IntValueTableOperand, Operand.LConstOperand, Operand.MethodOperand, Operand.ParamListOperand, Operand.PConstOperand, Operand.RegisterOperand, Operand.TargetOperand, Operand.TypeOperand, Operand.UnnecessaryGuardOperand, Operand.Util
 
Field Summary
static int PRECISE_TYPE
           
 Object scratchObject
           
 
Constructor Summary
Operand.RegisterOperand(RegisterFactory.Register reg, jq_Type type)
           
Operand.RegisterOperand(RegisterFactory.Register reg, jq_Type type, int flags)
           
 
Method Summary
 void attachToQuad(Quad q)
           
 void clearExactType()
           
 Operand copy()
           
 int getFlags()
           
 Quad getQuad()
           
 RegisterFactory.Register getRegister()
           
 jq_Type getType()
           
 boolean hasMoreConservativeFlags(Operand.RegisterOperand that)
           
 boolean isExactType()
           
 boolean isSimilar(Operand that)
           
 void meetFlags(int f)
           
 void setFlags(int f)
           
 void setRegister(RegisterFactory.Register r)
           
 void setType(jq_Type t)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PRECISE_TYPE

public static final int PRECISE_TYPE
See Also:
Constant Field Values

scratchObject

public Object scratchObject
Constructor Detail

Operand.RegisterOperand

public Operand.RegisterOperand(RegisterFactory.Register reg,
                               jq_Type type)

Operand.RegisterOperand

public Operand.RegisterOperand(RegisterFactory.Register reg,
                               jq_Type type,
                               int flags)
Method Detail

getRegister

public RegisterFactory.Register getRegister()

setRegister

public void setRegister(RegisterFactory.Register r)

getType

public jq_Type getType()

setType

public void setType(jq_Type t)

getFlags

public int getFlags()

setFlags

public void setFlags(int f)

meetFlags

public void meetFlags(int f)

isExactType

public boolean isExactType()

clearExactType

public void clearExactType()

hasMoreConservativeFlags

public boolean hasMoreConservativeFlags(Operand.RegisterOperand that)

copy

public Operand copy()
Specified by:
copy in interface Operand

attachToQuad

public void attachToQuad(Quad q)
Specified by:
attachToQuad in interface Operand

getQuad

public Quad getQuad()
Specified by:
getQuad in interface Operand

isSimilar

public boolean isSimilar(Operand that)
Specified by:
isSimilar in interface Operand

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2008 John Whaley. All Rights Reserved.