1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00

LibJS: Print bytecode registers with format "$num" instead of "rnum"

This commit is contained in:
Andreas Kling 2021-06-04 12:02:31 +02:00
parent 4934d16397
commit 6d66cdc668

View file

@ -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());
}
};