1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-29 17:45:11 +00:00

LibJS/JIT: Remove debug spam in cxx_increment()

This commit is contained in:
Andreas Kling 2023-10-27 11:15:28 +02:00
parent e2f5bfb4c4
commit 3b239b64ff

View file

@ -164,7 +164,6 @@ void Compiler::compile_jump_conditional(Bytecode::Op::JumpConditional const& op)
[[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));
if (old_value.is_number())
return Value(old_value.as_double() + 1);