Package ghidra.pcode.emu.jit.analysis
Enum Class JitType.DoubleJitType
- All Implemented Interfaces:
JitType,JitType.SimpleJitType,Serializable,Comparable<JitType.DoubleJitType>,Constable
- Enclosing interface:
JitType
public static enum JitType.DoubleJitType
extends Enum<JitType.DoubleJitType>
implements JitType.SimpleJitType
The p-code type for floating-point of size 8, i.e., that fits in a JVM double.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface ghidra.pcode.emu.jit.analysis.JitType
JitType.DoubleJitType, JitType.FloatJitType, JitType.IntJitType, JitType.LongJitType, JitType.MpFloatJitType, JitType.MpIntJitType, JitType.SimpleJitType -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionasInt()Re-apply theintegerbehavior to this typeext()Extend this p-code type to the p-code type that fills its entire host JVM type.Class<?> javaType()The JVM type of the variable that can represent a p-code variable of this typenm()Part of the name of a JVM local variable allocated for this typeintThe JVM opcode to load a local variable of this type onto the stackintThe JVM opcode to store a local variable of this type from the stackintpref()The preference for this type.intsize()The size of this typestatic JitType.DoubleJitTypeReturns the enum constant of this class with the specified name.static JitType.DoubleJitType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
F8
float8: a 8-byte float
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
pref
public int pref()Description copied from interface:JitTypeThe preference for this type. Smaller is more preferred. -
nm
Description copied from interface:JitTypePart of the name of a JVM local variable allocated for this type -
size
public int size()Description copied from interface:JitTypeThe size of this type -
javaType
Description copied from interface:JitType.SimpleJitTypeThe JVM type of the variable that can represent a p-code variable of this type- Specified by:
javaTypein interfaceJitType.SimpleJitType- Returns:
- the primitive class (not boxed)
-
opcodeLoad
public int opcodeLoad()Description copied from interface:JitType.SimpleJitTypeThe JVM opcode to load a local variable of this type onto the stack- Specified by:
opcodeLoadin interfaceJitType.SimpleJitType- Returns:
- the opcode
-
opcodeStore
public int opcodeStore()Description copied from interface:JitType.SimpleJitTypeThe JVM opcode to store a local variable of this type from the stack- Specified by:
opcodeStorein interfaceJitType.SimpleJitType- Returns:
- the opcode
-
ext
Description copied from interface:JitType -
asInt
Description copied from interface:JitType.SimpleJitTypeRe-apply theintegerbehavior to this typeThis may be slightly faster than
JitTypeBehavior.INTEGER.resolve(this), because each type can pick its int type directly, and integer types can just returnthis.- Specified by:
asIntin interfaceJitType.SimpleJitType- Returns:
- this type as an int
-