asmjit::JumpNode Class Reference
Inheritance diagram for asmjit::JumpNode:
asmjit::InstNodeWithOperands< InstNode::kBaseOpCapacity > asmjit::InstNode asmjit::BaseNode

Jump instruction with JumpAnnotation.

This node should be only used to represent jump where the jump target cannot be deduced by examining instruction operands. For example if the jump target is register or memory location. This pattern is often used to perform indirect jumps that use jump table, e.g. to implement switch{} statement.

Public Members

- Public Attributes inherited from asmjit::InstNode
- Public Attributes inherited from asmjit::BaseNode

Member Functions

Construction & Destruction
- Public Member Functions inherited from asmjit::InstNodeWithOperands< InstNode::kBaseOpCapacity >
- Public Member Functions inherited from asmjit::InstNode
- Public Member Functions inherited from asmjit::BaseNode

Additional Inherited Members

- Static Public Attributes inherited from asmjit::InstNode

Member Function Documentation

bool JumpNode::hasAnnotation() constnoexcept◆ 

Tests whether this JumpNode has associated a JumpAnnotation.

JumpAnnotation* JumpNode::annotation() constnoexcept◆ 

Returns the JumpAnnotation associated with this jump, or nullptr.

void JumpNode::setAnnotation(JumpAnnotation* annotation)noexcept◆ 

Sets the JumpAnnotation associated with this jump to annotation.