mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-25 19:00:13 +01:00
Removes warnings from IRDumper
This commit is contained in:
1 parent
0c5e5dbdf2
commit
e530e3676f
1 file changed
+2
-1
+2
-1
@@ -24,6 +24,7 @@ static void PrintArg(std::stringstream *out, [[maybe_unused]] IRListView const*
|
||||
*out << "#0x" << std::hex << Arg;
|
||||
}
|
||||
|
||||
[[maybe_unused]]
|
||||
static void PrintArg(std::stringstream *out, [[maybe_unused]] IRListView const* IR, const char* Arg) {
|
||||
*out << Arg;
|
||||
}
|
||||
@@ -91,7 +92,7 @@ static void PrintArg(std::stringstream *out, IRListView const* IR, OrderedNodeWr
|
||||
*out << "%ssa" << std::to_string(Arg.ID());
|
||||
if (RAData) {
|
||||
auto PhyReg = RAData->GetNodeRegister(Arg.ID());
|
||||
|
||||
|
||||
switch (PhyReg.Class) {
|
||||
case FEXCore::IR::GPRClass.Val: *out << "(GPR"; break;
|
||||
case FEXCore::IR::GPRFixedClass.Val: *out << "(GPRFixed"; break;
|
||||
|
||||
Reference in new issue
Block a user