1#[cfg(debug_assertions)]
2pub fn print_beautiful_instruction_name_1_byte(first_byte: u8, pc: usize) {
3 use crate::core::reader::types::opcode::opcode_byte_to_str;
4
5 trace!(
6 "Read instruction {} at wasm_binary[{}]",
7 opcode_byte_to_str(first_byte),
8 pc
9 );
10}
11
12#[cfg(debug_assertions)]
13pub fn print_beautiful_fc_extension(second_byte: u32, pc: usize) {
14 use crate::core::reader::types::opcode::fc_extension_opcode_second_byte_to_str;
15
16 trace!(
17 "Read instruction {} at wasm_binary[{}]",
18 fc_extension_opcode_second_byte_to_str(second_byte),
19 pc,
20 );
21}