asmjit::EmbedLabelNode Class Reference

Label data node.

Public Members

- Public Attributes inherited from asmjit::BaseNode

Member Functions

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

Additional Inherited Members

- Public Types inherited from asmjit::BaseNode

Constructor & Destructor Documentation

EmbedLabelNode::EmbedLabelNode(BaseBuilder* cb, uint32_t labelId = 0, uint32_t dataSize = 0)noexcept

Creates a new EmbedLabelNode instance.

Member Function Documentation

Label EmbedLabelNode::label() constnoexcept

Returns the label to embed as Label operand.

uint32_t EmbedLabelNode::labelId() constnoexcept

Returns the id of the label.

void EmbedLabelNode::setLabel(const Label& label)noexcept

Sets the label id from label operand.

void EmbedLabelNode::setLabelId(uint32_t labelId)noexcept

Sets the label id (use with caution, improper use can break a lot of things).

uint32_t EmbedLabelNode::dataSize() constnoexcept

Returns the data size.

void EmbedLabelNode::setDataSize(uint32_t dataSize)noexcept

Sets the data size.