Enum Class JitConfiguration.Opt

java.lang.Object
java.lang.Enum<JitConfiguration.Opt>
ghidra.pcode.emu.jit.JitConfiguration.Opt
All Implemented Interfaces:
Serializable, Comparable<JitConfiguration.Opt>, Constable
Enclosing class:
JitConfiguration

public static enum JitConfiguration.Opt extends Enum<JitConfiguration.Opt>
Fluent specifiers for the boolean options of JitConfiguration
  • Enum Constant Details

    • REMOVE_UNUSED_OPERATIONS

      public static final JitConfiguration.Opt 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

      public static final JitConfiguration.Opt EMIT_COUNTERS
      Causes the translator to emit a call to JitPcodeThread.count(int, int) at the start of each basic block.
    • LOG_STACK_TRACES

      public static final JitConfiguration.Opt LOG_STACK_TRACES
      Causes the translator to emit code to print a stack trace in its exception handlers.
  • Method Details

    • values

      public static JitConfiguration.Opt[] 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

      public static JitConfiguration.Opt valueOf(String name)
      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 name
      NullPointerException - if the argument is null