Access | Constructor and Description |
---|---|
protected |
Modifier and Type | Method and Description |
---|---|
public Instruction | |
public Instruction | |
public int | distanceTo(Type type)
Overrides com. |
public Instruction | |
public Instruction | |
public boolean | identicalTo(Type other)
Implements abstract com. |
public Instruction | |
public Instruction | |
public Instruction | |
public Instruction | |
public Instruction | |
public Instruction | |
public Instruction | |
public Type | |
public String | toSignature()
Implements abstract com. |
public String | toString()
Implements abstract com. |
public void | translateBox(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. |
public void | translateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz)
Overrides com. |
public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Overrides com. type .
|
public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
Expects a real on the stack and pushes its string value by calling
|
public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Expects a real on the stack and pushes a 0 if that number is 0.0 and a 1 otherwise. |
public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, IntType type)
Expects a real on the stack and pushes a truncated integer value |
public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type)
Expects a double on the stack and pushes a boxed double. |
public void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, final Class<?> clazz)
Overrides com. clazz .
|
public FlowList | translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Overrides com. |
public void | translateUnBox(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. |
RealType | back to summary |
---|---|
protected RealType() |
ADD | back to summary |
---|---|
public Instruction ADD() Overrides com. |
CMP | back to summary |
---|---|
public Instruction CMP(boolean less) Overrides com. |
distanceTo | back to summary |
---|---|
public int distanceTo(Type type) Overrides com. Doc from com. Returns the distance between two types. This measure is used to select overloaded functions/operators. This method is typically redefined by the subclasses. |
DIV | back to summary |
---|---|
public Instruction DIV() Overrides com. |
DUP | back to summary |
---|---|
public Instruction DUP() Overrides com. |
identicalTo | back to summary |
---|---|
public boolean identicalTo(Type other) Implements abstract com. Doc from com. Returns true if this and other are identical types. |
LOAD | back to summary |
---|---|
public Instruction LOAD(int slot) Overrides com. |
MUL | back to summary |
---|---|
public Instruction MUL() Overrides com. |
NEG | back to summary |
---|---|
public Instruction NEG() Overrides com. |
POP | back to summary |
---|---|
public Instruction POP() Overrides com. |
REM | back to summary |
---|---|
public Instruction REM() Overrides com. |
STORE | back to summary |
---|---|
public Instruction STORE(int slot) Overrides com. |
SUB | back to summary |
---|---|
public Instruction SUB() Overrides com. |
toJCType | back to summary |
---|---|
public Type toJCType() Implements abstract com. |
toSignature | back to summary |
---|---|
public String toSignature() Implements abstract com. Doc from com. Returns the signature of an internal type's external representation. |
toString | back to summary |
---|---|
public String toString() Implements abstract com. Doc from com. Returns a string representation of this type.
|
translateBox | back to summary |
---|---|
public void translateBox(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Translates an object of this type to its boxed representation. |
translateFrom | back to summary |
---|---|
public void translateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class<?> clazz) Overrides com. Translates an external (primitive) Java type into a real. Expects a java object on the stack and pushes a real (i.e., a double). |
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type) Overrides com. Translates a real into an object of internal type |
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type) Expects a real on the stack and pushes its string value by calling
|
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type) Expects a real on the stack and pushes a 0 if that number is 0.0 and a 1 otherwise. |
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, IntType type) Expects a real on the stack and pushes a truncated integer value |
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type) Expects a double on the stack and pushes a boxed double. Boxed
double are represented by an instance of |
translateTo | back to summary |
---|---|
public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, final Class<?> clazz) Overrides com. Translates a real into the Java type denoted by |
translateToDesynthesized | back to summary |
---|---|
public FlowList translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type) Overrides com. Translates a real into a non-synthesized boolean. It does not push a 0 or a 1 but instead returns branchhandle list to be appended to the false list. A NaN must be converted to "false". |
translateUnBox | back to summary |
---|---|
public void translateUnBox(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Translates an object of this type to its unboxed representation. |