ir/basic_block: Add missing U16 immediate type to DumpBlock
This commit is contained in:
parent
5503ff28c3
commit
be354dbfd0
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue