asmjit::SentinelNode Class Reference

Sentinel node.

Sentinel is a marker that is completely ignored by the code builder. It's used to remember a position in a code as it never gets removed by any pass.

Public Types

- Public Types inherited from asmjit::BaseNode

Member Functions

Construction & Destruction
Accessors
- Public Member Functions inherited from asmjit::BaseNode

Additional Inherited Members

- Public Attributes inherited from asmjit::BaseNode

Member Enumeration Documentation

SentinelNode::SentinelType : uint32_tenum

Type of the sentinel (purery informative purpose).

ConstantDescription
kSentinelUnknown 

Type of the sentinel is not known.

kSentinelFuncEnd 

This is a sentinel used at the end of FuncNode.

Constructor & Destructor Documentation

SentinelNode::SentinelNode(BaseBuilder* cb, uint32_t sentinelType = kSentinelUnknown)noexcept

Creates a new SentinelNode instance.

Member Function Documentation

uint32_t SentinelNode::sentinelType() constnoexcept

Returns the type of the sentinel.

void SentinelNode::setSentinelType(uint32_t type)noexcept

Sets the type of the sentinel.