summary refs log tree commit diff
path: root/src/instruction/decrement.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/instruction/decrement.c')
-rw-r--r--src/instruction/decrement.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/instruction/decrement.c b/src/instruction/decrement.c
deleted file mode 100644
index ce3af87..0000000
--- a/src/instruction/decrement.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include "3cl.h"
-
-#include "utils.h"
-
-struct CCLFrame *ccl_instruction_decrement(struct CCL *ccl, struct CCLFrame *frame)
-{
-    if (ccl->stack.cur < 1)
-        die(1, "stack size is %d (%d required)", ccl->stack.cur, 1);
-    --ccl->stack.stack[ccl->stack.cur];
-    return frame;
-}