From 6eeaabc03938615ced69f2d7321f849963863196 Mon Sep 17 00:00:00 2001 From: Haled Odat Date: Mon, 20 Mar 2023 21:20:34 +0100 Subject: [PATCH] Fix get function opcode type traces --- boa_engine/src/vm/code_block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boa_engine/src/vm/code_block.rs b/boa_engine/src/vm/code_block.rs index 68ab9221308..66b4ee9f248 100644 --- a/boa_engine/src/vm/code_block.rs +++ b/boa_engine/src/vm/code_block.rs @@ -280,7 +280,7 @@ impl CodeBlock { let operand = self.read::(*pc); *pc += size_of::() + size_of::(); format!( - "{operand:04}: '{:?}' (length: {})", + "{operand:04}: '{}' (length: {})", interner.resolve_expect(self.functions[operand as usize].name), self.functions[operand as usize].length )