diff --git a/src/asmjit/core/archtraits.h b/src/asmjit/core/archtraits.h index 4d05c11..192a826 100644 --- a/src/asmjit/core/archtraits.h +++ b/src/asmjit/core/archtraits.h @@ -152,7 +152,7 @@ enum class InstHints : uint8_t { //! No feature hints. kNoHints = 0, - //! Architecture supports a register swap by using a single instructio. + //! Architecture supports a register swap by using a single instruction. kRegSwap = 0x01u, //! Architecture provides push/pop instructions. kPushPop = 0x02u diff --git a/src/asmjit/core/codeholder.h b/src/asmjit/core/codeholder.h index e3bd0d5..6ed2ddf 100644 --- a/src/asmjit/core/codeholder.h +++ b/src/asmjit/core/codeholder.h @@ -356,7 +356,7 @@ struct OffsetFormat { //! Returns the size of the region/instruction where the offset is encoded. inline uint32_t regionSize() const noexcept { return _regionSize; } - //! Returns the the offset of the word relative to the start of the region where the offset is. + //! Returns the offset of the word relative to the start of the region where the offset is. inline uint32_t valueOffset() const noexcept { return _valueOffset; } //! Returns the size of the data-type (word) that contains the offset, in bytes. diff --git a/src/asmjit/core/func.h b/src/asmjit/core/func.h index 8ecf148..78a41f9 100644 --- a/src/asmjit/core/func.h +++ b/src/asmjit/core/func.h @@ -1127,7 +1127,7 @@ public: //! Tests whether the callee must adjust SP before returning (X86-STDCALL only) inline bool hasCalleeStackCleanup() const noexcept { return _calleeStackCleanup != 0; } - //! Returns home many bytes of the stack the the callee must adjust before returning (X86-STDCALL only) + //! Returns home many bytes of the stack the callee must adjust before returning (X86-STDCALL only) inline uint32_t calleeStackCleanup() const noexcept { return _calleeStackCleanup; } //! Returns call stack alignment. diff --git a/src/asmjit/x86/x86emithelper.cpp b/src/asmjit/x86/x86emithelper.cpp index cc558e0..b541c04 100644 --- a/src/asmjit/x86/x86emithelper.cpp +++ b/src/asmjit/x86/x86emithelper.cpp @@ -30,7 +30,7 @@ static inline uint32_t getXmmMovInst(const FuncFrame& frame) { : (avx ? Inst::kIdVmovups : Inst::kIdMovups); } -//! Converts `size` to a 'kmov?' instructio. +//! Converts `size` to a 'kmov?' instruction. static inline uint32_t kmovInstFromSize(uint32_t size) noexcept { switch (size) { case 1: return Inst::kIdKmovb;