Package ghidra.pcode.emu.jit.analysis
Record Class JitType.MpFloatJitType
java.lang.Object
java.lang.Record
ghidra.pcode.emu.jit.analysis.JitType.MpFloatJitType
- Record Components:
size- the size in bytes
- All Implemented Interfaces:
JitType
- Enclosing interface:
JitType
WIP: The p-code types for floats of size other than 4 and 8
-
Nested Class Summary
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 -
Constructor Summary
ConstructorsConstructorDescriptionMpFloatJitType(int size) Creates an instance of aMpFloatJitTyperecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.ext()Extend this p-code type to the p-code type that fills its entire host JVM type.static JitType.MpFloatJitTypeforSize(int size) Get the type for a float of the given size other than 4 and 8final inthashCode()Returns a hash code value for this object.nm()Part of the name of a JVM local variable allocated for this typeintpref()The preference for this type.intsize()Returns the value of thesizerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MpFloatJitType
public MpFloatJitType(int size) Creates an instance of aMpFloatJitTyperecord class.- Parameters:
size- the value for thesizerecord component
-
-
Method Details
-
forSize
Get the type for a float of the given size other than 4 and 8- Parameters:
size- the size in bytes- Returns:
- the type
- Throws:
IllegalArgumentException- for size 4 or 8
-
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 -
ext
Description copied from interface:JitType -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
size
public int size()Returns the value of thesizerecord component.
-