Skip to content

Commit

Permalink
Fix get function opcode type traces
Browse files Browse the repository at this point in the history
  • Loading branch information
HalidOdat committed Mar 21, 2023
1 parent b3e045a commit 6eeaabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa_engine/src/vm/code_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ impl CodeBlock {
let operand = self.read::<u32>(*pc);
*pc += size_of::<u32>() + size_of::<u8>();
format!(
"{operand:04}: '{:?}' (length: {})",
"{operand:04}: '{}' (length: {})",
interner.resolve_expect(self.functions[operand as usize].name),
self.functions[operand as usize].length
)
Expand Down

0 comments on commit 6eeaabc

Please sign in to comment.