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 aEntryPointrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintblockId()Returns the value of theblockIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.passage()Returns the value of thepassagerecord component.Returns the value of theprototyperecord component.run()Start/resume execution of the bound thread at this entry point.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EntryPoint
public EntryPoint(JitCompiledPassage.EntryPointPrototype prototype, JitCompiledPassage passage, int blockId) Creates an instance of aEntryPointrecord 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
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
prototype
-
passage
-
blockId
-