From 6d66cdc668756b6f43fec99a033bca477462a968 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 4 Jun 2021 12:02:31 +0200 Subject: [PATCH] LibJS: Print bytecode registers with format "$num" instead of "rnum" --- Userland/Libraries/LibJS/Bytecode/Register.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Bytecode/Register.h b/Userland/Libraries/LibJS/Bytecode/Register.h index d902a6ac86..9275b7fe52 100644 --- a/Userland/Libraries/LibJS/Bytecode/Register.h +++ b/Userland/Libraries/LibJS/Bytecode/Register.h @@ -29,6 +29,6 @@ template<> struct AK::Formatter : AK::Formatter { void format(FormatBuilder& builder, JS::Bytecode::Register const& value) { - return AK::Formatter::format(builder, "r{}", value.index()); + return AK::Formatter::format(builder, "${}", value.index()); } };