asmjit::AlignNode Class Reference

Align directive (BaseBuilder).

Wraps .align directive.

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

AlignNode::AlignNode(BaseBuilder* cb, uint32_t alignMode, uint32_t alignment)noexcept

Creates a new AlignNode instance.

Member Function Documentation

uint32_t AlignNode::alignMode() constnoexcept

Returns align mode.

void AlignNode::setAlignMode(uint32_t alignMode)noexcept

Sets align mode to alignMode.

uint32_t AlignNode::alignment() constnoexcept

Returns align offset in bytes.

void AlignNode::setAlignment(uint32_t alignment)noexcept

Sets align offset in bytes to offset.

Member Data Documentation

uint32_t AlignNode::_alignMode

Align mode, see AlignMode.

uint32_t AlignNode::_alignment

Alignment (in bytes).