ir/basic_block: Add missing U16 immediate type to DumpBlock

This commit is contained in:
MerryMage 2018-06-27 15:06:20 +01:00
parent 5503ff28c3
commit be354dbfd0

View file

@ -172,6 +172,8 @@ std::string DumpBlock(const IR::Block& block) {
return fmt::format("#{}", arg.GetU1() ? '1' : '0'); return fmt::format("#{}", arg.GetU1() ? '1' : '0');
case Type::U8: case Type::U8:
return fmt::format("#{}", arg.GetU8()); return fmt::format("#{}", arg.GetU8());
case Type::U16:
return fmt::format("#{:#x}", arg.GetU16());
case Type::U32: case Type::U32:
return fmt::format("#{:#x}", arg.GetU32()); return fmt::format("#{:#x}", arg.GetU32());
case Type::U64: case Type::U64: