mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 04:24:37 +03:00
Fixed typos in comments (#361)
This commit is contained in:
committed by
GitHub
parent
e41f1c0fd7
commit
a876e4d1cd
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user