mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-18 04:54:36 +03:00
Fixed few warnings
This commit is contained in:
@@ -685,9 +685,8 @@ public:
|
||||
struct LiveRegData {
|
||||
uint32_t id;
|
||||
|
||||
inline LiveRegData() noexcept : id(BaseReg::kIdBad) {}
|
||||
inline explicit LiveRegData(uint32_t id) noexcept : id(id) {}
|
||||
inline explicit LiveRegData(const LiveRegData& other) noexcept : id(other.id) {}
|
||||
inline explicit LiveRegData(uint32_t id = BaseReg::kIdBad) noexcept : id(id) {}
|
||||
inline LiveRegData(const LiveRegData& other) noexcept : id(other.id) {}
|
||||
|
||||
inline void init(const LiveRegData& other) noexcept { id = other.id; }
|
||||
|
||||
|
||||
@@ -1216,9 +1216,9 @@ ASMJIT_FAVOR_SPEED Error RAPass::binPack(uint32_t group) noexcept {
|
||||
workReg->markStackPreferred();
|
||||
|
||||
ASMJIT_RA_LOG_COMPLEX({
|
||||
uint32_t numWorkRegs = workRegs.size();
|
||||
uint32_t count = workRegs.size();
|
||||
sb.clear();
|
||||
sb.appendFormat(" Unassigned (%u): ", numWorkRegs);
|
||||
sb.appendFormat(" Unassigned (%u): ", count);
|
||||
for (i = 0; i < numWorkRegs; i++) {
|
||||
RAWorkReg* workReg = workRegs[i];
|
||||
if (i) sb.appendString(", ");
|
||||
|
||||
Reference in New Issue
Block a user