summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-26 14:48:27 +0100
committerubq323 <ubq323@ubq323.website>2024-06-26 14:48:27 +0100
commit517e9fe048844533d927c4e3b6d021f82ccea984 (patch)
tree5629a6d2e43201c14a8d43d652751ff8a987eefb /vm.c
parenta8519434f058d0ab60bf7f90acc61997cb982cfa (diff)
remove OP_PUTS and OP_PRINT, use say and write functions instead
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c6
1 files changed, 0 insertions, 6 deletions
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;