mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 13:48:12 +00:00
LibJS/JIT: Remove debug spam in cxx_increment()
This commit is contained in:
parent
e2f5bfb4c4
commit
3b239b64ff
1 changed files with 0 additions and 1 deletions
|
@ -164,7 +164,6 @@ void Compiler::compile_jump_conditional(Bytecode::Op::JumpConditional const& op)
|
||||||
|
|
||||||
[[maybe_unused]] static Value cxx_increment(VM& vm, Value value)
|
[[maybe_unused]] static Value cxx_increment(VM& vm, Value value)
|
||||||
{
|
{
|
||||||
dbgln("cxx_increment {}", value);
|
|
||||||
auto old_value = TRY_OR_SET_EXCEPTION(value.to_numeric(vm));
|
auto old_value = TRY_OR_SET_EXCEPTION(value.to_numeric(vm));
|
||||||
if (old_value.is_number())
|
if (old_value.is_number())
|
||||||
return Value(old_value.as_double() + 1);
|
return Value(old_value.as_double() + 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue