mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
LibJS: Print bytecode registers with format "$num" instead of "rnum"
This commit is contained in:
parent
4934d16397
commit
6d66cdc668
1 changed files with 1 additions and 1 deletions
|
@ -29,6 +29,6 @@ template<>
|
|||
struct AK::Formatter<JS::Bytecode::Register> : AK::Formatter<FormatString> {
|
||||
void format(FormatBuilder& builder, JS::Bytecode::Register const& value)
|
||||
{
|
||||
return AK::Formatter<FormatString>::format(builder, "r{}", value.index());
|
||||
return AK::Formatter<FormatString>::format(builder, "${}", value.index());
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue