From f1e60bd6413fab1959400a3346a14177bbf2af7a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 12 Aug 2022 22:46:50 -0700 Subject: [PATCH] Remove debugging statements --- clox/src/vm.c | 2 -- src/fib.lox | 2 -- 2 files changed, 4 deletions(-) diff --git a/clox/src/vm.c b/clox/src/vm.c index 5373b75..eab8c47 100644 --- a/clox/src/vm.c +++ b/clox/src/vm.c @@ -322,9 +322,7 @@ static InterpretResult run() { push(NUMBER_VAL(-AS_NUMBER(pop()))); break; case OP_PRINT: { - printf("Printing!\n"); printValue(pop()); - printf("\n"); break; } case OP_JUMP: { diff --git a/src/fib.lox b/src/fib.lox index 4e126bb..dd6fb5e 100644 --- a/src/fib.lox +++ b/src/fib.lox @@ -3,8 +3,6 @@ fun fib(n) { return fib(n - 1) + fib(n - 2); } -print "Hello"; - var before = clock(); print fib(40); var after = clock();