diff options
Diffstat (limited to 'backend/include/rcc/CodeGen/MachineMemOperand.h')
| -rw-r--r-- | backend/include/rcc/CodeGen/MachineMemOperand.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/backend/include/rcc/CodeGen/MachineMemOperand.h b/backend/include/rcc/CodeGen/MachineMemOperand.h index e513385..3f1fc64 100644 --- a/backend/include/rcc/CodeGen/MachineMemOperand.h +++ b/backend/include/rcc/CodeGen/MachineMemOperand.h @@ -80,24 +80,6 @@ enum class AtomicOrdering : std::uint8_t { SequentiallyConsistent, }; -class Alignment final { -public: - constexpr Alignment() noexcept = default; - - [[nodiscard]] static Expected<Alignment> create(std::uint64_t Bytes); - - [[nodiscard]] constexpr std::uint64_t bytes() const noexcept { - return Bytes; - } - - friend constexpr bool operator==(Alignment Left, Alignment Right) noexcept = default; - -private: - explicit constexpr Alignment(std::uint64_t Bytes) noexcept : Bytes(Bytes) {} - - std::uint64_t Bytes = 1; -}; - class MemorySize final { public: enum class Kind : std::uint8_t { |
