diff options
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> | 2022-10-07 11:58:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 11:58:58 +0300 |
commit | 8dd64c32ac5113e15d3450987b780b0f117b5fed (patch) | |
tree | 98fb8e5cefa0b65530a55a35d1d641a95ed317a3 | |
parent | 052b4430e93f021709d27d2b5d42694ce0c49ce6 (diff) |
[Doc] Fixed some typos (#382)
-rw-r--r-- | src/asmjit/core/zonevector.h | 2 | ||||
-rw-r--r-- | src/asmjit/x86/x86assembler.cpp | 2 | ||||
-rw-r--r-- | src/asmjit/x86/x86globals.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/asmjit/core/zonevector.h b/src/asmjit/core/zonevector.h index 447c08c..9a655e6 100644 --- a/src/asmjit/core/zonevector.h +++ b/src/asmjit/core/zonevector.h @@ -480,7 +480,7 @@ public: //! Returns the capacity of the `BitWord[]` array in `BitWord` units. inline uint32_t capacityInBitWords() const noexcept { return _wordsPerBits(_capacity); } - //! REturns bit-vector data as `BitWord[]`. + //! Returns bit-vector data as `BitWord[]`. inline BitWord* data() noexcept { return _data; } //! \overload inline const BitWord* data() const noexcept { return _data; } diff --git a/src/asmjit/x86/x86assembler.cpp b/src/asmjit/x86/x86assembler.cpp index 2871272..02bcc86 100644 --- a/src/asmjit/x86/x86assembler.cpp +++ b/src/asmjit/x86/x86assembler.cpp @@ -2259,7 +2259,7 @@ CaseX86PushPop_Gp: goto EmitX86OpReg; } else { - // Encode 'xchg eax, eax' by by using a generic path. + // Encode 'xchg eax, eax' by using a generic path. } } else if (!Support::test(options, InstOptions::kLongForm)) { diff --git a/src/asmjit/x86/x86globals.h b/src/asmjit/x86/x86globals.h index 803c813..7f1566d 100644 --- a/src/asmjit/x86/x86globals.h +++ b/src/asmjit/x86/x86globals.h @@ -1933,7 +1933,7 @@ enum class RoundImm : uint8_t { kUp = 0x02u, //!< Round to up toward +INF (ceil). kTrunc = 0x03u, //!< Round toward zero (truncate). kCurrent = 0x04u, //!< Round to the current rounding mode set (ignores other RC bits). - kSuppress = 0x08u //!< Supress exceptions (avoids inexact exception, if set). + kSuppress = 0x08u //!< Suppress exceptions (avoids inexact exception, if set). }; ASMJIT_DEFINE_ENUM_FLAGS(RoundImm) |