summaryrefslogtreecommitdiff
path: root/src/disasm.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/disasm.rs')
-rw-r--r--src/disasm.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/disasm.rs b/src/disasm.rs
index 985a88a..8b02771 100644
--- a/src/disasm.rs
+++ b/src/disasm.rs
@@ -48,6 +48,9 @@ pub fn print_disassembly(bytecode: &ByteCode) {
let function_id = iter.next_varuint();
print_op!(iter, pc, "CALL {:08X}", function_id);
},
+ 0x09 => { // OpType::InvokeDynamic
+ print_op!(iter, pc, "INVOKEDYNAMIC");
+ },
0x06 => { // OpType::InvokeGenerator
let function_id = iter.next_varuint();
print_op!(iter, pc, "GEN {:08X}", function_id);
@@ -57,6 +60,7 @@ pub fn print_disassembly(bytecode: &ByteCode) {
},
0x08 => { // OpType::Return
print_op!(iter, pc, "RET");
+ println!();
},
0x10 => { // OpType::Push
let buf = &iter.bytecode()[pc+1..];