Package ghidra.pcode.emu.jit
Enum Class JitConfiguration.Opt
- All Implemented Interfaces:
Serializable,Comparable<JitConfiguration.Opt>,Constable
- Enclosing class:
JitConfiguration
Fluent specifiers for the boolean options of
JitConfiguration-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCauses the translator to emit a call toJitPcodeThread.count(int, int)at the start of each basic block.Causes the translator to emit code to print a stack trace in its exception handlers.Some p-code ops produce outputs that are never used later. -
Method Summary
Modifier and TypeMethodDescriptionstatic JitConfiguration.OptReturns the enum constant of this class with the specified name.static JitConfiguration.Opt[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REMOVE_UNUSED_OPERATIONS
Some p-code ops produce outputs that are never used later. One common case is flags computed from arithmetic operations. If this option is enabled, the JIT compiler will remove those p-code ops. -
EMIT_COUNTERS
Causes the translator to emit a call toJitPcodeThread.count(int, int)at the start of each basic block. -
LOG_STACK_TRACES
Causes the translator to emit code to print a stack trace in its exception handlers.
-
-
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
-