From 517e9fe048844533d927c4e3b6d021f82ccea984 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Wed, 26 Jun 2024 14:48:27 +0100 Subject: remove OP_PUTS and OP_PRINT, use say and write functions instead --- dis.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'dis.c') diff --git a/dis.c b/dis.c index 193f410..9220b75 100644 --- a/dis.c +++ b/dis.c @@ -89,8 +89,6 @@ static size_t disasm_instr_h(Chunk *ch, size_t ip, int depth) { #define SIMPLE_INSTR(opcode, str) \ case opcode: puts(str); break; SIMPLE_INSTR(OP_RET, "ret") - SIMPLE_INSTR(OP_PUTS, "puts") - SIMPLE_INSTR(OP_PRINT, "print") SIMPLE_INSTR(OP_DROP, "drop") SIMPLE_INSTR(OP_ADD, "add") SIMPLE_INSTR(OP_SUB, "sub") -- cgit v1.2.3