From 58ffc56c382dad80596fb715fe2e2cf0f56cf76c Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Mon, 19 May 2025 02:45:19 +0100 Subject: [PATCH] LibWas: Unbreak compilation with `WASM_TRACE_DEBUG` enabled --- Libraries/LibWasm/AbstractMachine/BytecodeInterpreter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/LibWasm/AbstractMachine/BytecodeInterpreter.cpp b/Libraries/LibWasm/AbstractMachine/BytecodeInterpreter.cpp index 9ecb4082536..6bf45a844ae 100644 --- a/Libraries/LibWasm/AbstractMachine/BytecodeInterpreter.cpp +++ b/Libraries/LibWasm/AbstractMachine/BytecodeInterpreter.cpp @@ -273,7 +273,7 @@ void BytecodeInterpreter::binary_numeric_operation(Configuration& configuration, } else { result = call_result; } - dbgln_if(WASM_TRACE_DEBUG, "{} {} {} = {}", lhs.value(), Operator::name(), rhs.value(), result); + dbgln_if(WASM_TRACE_DEBUG, "{} {} {} = {}", lhs, Operator::name(), rhs, result); lhs_entry = Value(result); } @@ -293,7 +293,7 @@ void BytecodeInterpreter::unary_operation(Configuration& configuration, Args&&.. } else { result = call_result; } - dbgln_if(WASM_TRACE_DEBUG, "map({}) {} = {}", Operator::name(), *value, result); + dbgln_if(WASM_TRACE_DEBUG, "map({}) {} = {}", Operator::name(), value, result); entry = Value(result); }