Removes warnings from IRDumper

This commit is contained in:
Ryan Houdek committed 2021-03-14 13:27:39 -07:00
1 parent 0c5e5dbdf2
commit e530e3676f
1 file changed
+2 -1
+2 -1
View File
@@ -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;