summaryrefslogtreecommitdiff
path: root/uscript/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'uscript/vm.c')
-rw-r--r--uscript/vm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/uscript/vm.c b/uscript/vm.c
index c01bb0f..26fccbe 100644
--- a/uscript/vm.c
+++ b/uscript/vm.c
@@ -382,12 +382,6 @@ void us_exec(struct us_func *func)
case BC_LOOP:
i -= read_short(func->proto, &i);
break;
- case BC_PRINT: {
- char *str = val_to_str(vm_pop(), NULL);
- olog(str);
- mem_free(str);
- break;
- }
case BC_CALL: {
int argc = read_byte();
struct us_val callee = vm.stacktop[-argc - 1];