mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibJS: Print bytecode registers with format "$num" instead of "rnum"
This commit is contained in:
parent
4934d16397
commit
6d66cdc668
Notes:
sideshowbarker
2024-07-18 12:42:33 +09:00
Author: https://github.com/awesomekling
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