Error Compiler::align(uint32_t alignMode, uint32_t offset) noexcept { HLAlign* node = newAlignNode(alignMode, offset); if (node == nullptr) return setLastError(kErrorNoHeapMemory); addNode(node); return kErrorOk; }
Error CodeBuilder::align(uint32_t mode, uint32_t alignment) { if (_lastError) return _lastError; CBAlign* node = newAlignNode(mode, alignment); if (ASMJIT_UNLIKELY(!node)) return setLastError(DebugUtils::errored(kErrorNoHeapMemory)); addNode(node); return kErrorOk; }