mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 04:24:37 +03:00
Fixed #199
This commit is contained in:
@@ -369,7 +369,8 @@ class LabelByName {
|
|||||||
public:
|
public:
|
||||||
ASMJIT_INLINE LabelByName(const char* name, size_t nameLength, uint32_t hVal) noexcept
|
ASMJIT_INLINE LabelByName(const char* name, size_t nameLength, uint32_t hVal) noexcept
|
||||||
: name(name),
|
: name(name),
|
||||||
nameLength(static_cast<uint32_t>(nameLength)) {}
|
nameLength(static_cast<uint32_t>(nameLength)),
|
||||||
|
hVal(hVal) {}
|
||||||
|
|
||||||
ASMJIT_INLINE bool matches(const LabelEntry* entry) const noexcept {
|
ASMJIT_INLINE bool matches(const LabelEntry* entry) const noexcept {
|
||||||
return static_cast<uint32_t>(entry->getNameLength()) == nameLength &&
|
return static_cast<uint32_t>(entry->getNameLength()) == nameLength &&
|
||||||
|
|||||||
Reference in New Issue
Block a user