mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibJS/JIT: Remove debug spam in cxx_increment()
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 03:20:18 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/3b239b64ff Pull-request: https://github.com/SerenityOS/serenity/pull/21619 Reviewed-by: https://github.com/Hendiadyoin1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user