Package ghidra.pcode.emu.jit.gen.tgt
Record Class JitCompiledPassage.EntryPoint
java.lang.Object
java.lang.Record
ghidra.pcode.emu.jit.gen.tgt.JitCompiledPassage.EntryPoint
- Record Components:
prototype
- the entry point prototype (passage class and blockId without bound thread)passage
- the compiled passage, instantiated for the bound threadblockId
- an index identifying the block at the target address and contextreg value of this entry point
- Enclosing interface:
JitCompiledPassage
public static record JitCompiledPassage.EntryPoint(JitCompiledPassage.EntryPointPrototype prototype, JitCompiledPassage passage, int blockId)
extends Record
An entry point into a translated passage
This represents a translated passage and an index into its list of entry points. For an
overview of how this fits into the JIT-accelerated execution loop, see
JitPcodeThread
, especially the Translate and Execute sections. For
details of how the entry points and their metadata are exported, see
JitCodeGenerator
, especially the Entry Point Dispatch section.
-
Constructor Summary
ConstructorsConstructorDescriptionEntryPoint
(JitCompiledPassage.EntryPointPrototype prototype, JitCompiledPassage passage, int blockId) Creates an instance of aEntryPoint
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
blockId()
Returns the value of theblockId
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.passage()
Returns the value of thepassage
record component.Returns the value of theprototype
record component.run()
Start/resume execution of the bound thread at this entry point.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
EntryPoint
public EntryPoint(JitCompiledPassage.EntryPointPrototype prototype, JitCompiledPassage passage, int blockId) Creates an instance of aEntryPoint
record class.
-
-
Method Details
-
run
Start/resume execution of the bound thread at this entry point.The associated passage is invoked, starting at the given block via
JitCompiledPassage.run(int)
, which was generated byJitCodeGenerator
.- Returns:
- as in
JitCompiledPassage.run(int)
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
prototype
Returns the value of theprototype
record component.- Returns:
- the value of the
prototype
record component
-
passage
Returns the value of thepassage
record component.- Returns:
- the value of the
passage
record component
-
blockId
public int blockId()Returns the value of theblockId
record component.- Returns:
- the value of the
blockId
record component
-