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 --- vm.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index 34660de..b8fcbd6 100644 --- a/vm.c +++ b/vm.c @@ -65,12 +65,6 @@ int runvm(State *S) { // printf(")\n"); break; } - case OP_PUTS: - println_val(PEEK()); - break; - case OP_PRINT: - print_val(PEEK()); - break; case OP_DROP: --th->sp; break; -- cgit v1.2.3