Package ghidra.pcode.emu.jit.gen.var
Enum Class LocalOutVarGen
- All Implemented Interfaces:
LocalVarGen<JitLocalOutVar>
,ValGen<JitLocalOutVar>
,VarGen<JitLocalOutVar>
,Serializable
,Comparable<LocalOutVarGen>
,Constable
The generator for a local variable that is defined within the passage.
-
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.gen.var.VarGen
VarGen.BlockTransition
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoid
generateVarWriteCode
(JitCodeGenerator gen, JitLocalOutVar v, JitType type, org.objectweb.asm.MethodVisitor rv) Write a value from the stack into the given variablestatic LocalOutVarGen
Returns the enum constant of this class with the specified name.static LocalOutVarGen[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface ghidra.pcode.emu.jit.gen.var.LocalVarGen
generateValInitCode, generateValReadCode
-
Enum Constant Details
-
GEN
Singleton
-
-
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
-
generateVarWriteCode
public void generateVarWriteCode(JitCodeGenerator gen, JitLocalOutVar v, JitType type, org.objectweb.asm.MethodVisitor rv) Description copied from interface:VarGen
Write a value from the stack into the given variable- Specified by:
generateVarWriteCode
in interfaceVarGen<JitLocalOutVar>
- Parameters:
gen
- the code generatorv
- the variable to writetype
- the p-code type (which also determines the expected JVM type) of the value on the stackrv
- the visitor for therun
method
-