summaryrefslogtreecommitdiff
path: root/dis.h
blob: 8a26c8a0806cecf0d4ece67b75eee52958296553 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef _dis_h
#define _dis_h

#include "vm.h"

void disasm_chunk(Chunk *ch);
// returns length of disasmed instr in bytes
size_t disasm_instr(Chunk *ch, size_t ip);

#endif