diff options
Diffstat (limited to 'src/instruction/increment.c')
| -rw-r--r-- | src/instruction/increment.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/instruction/increment.c b/src/instruction/increment.c deleted file mode 100644 index d2d51a5..0000000 --- a/src/instruction/increment.c +++ /dev/null @@ -1,11 +0,0 @@ -#include "3cl.h" - -#include "utils.h" - -struct CCLFrame *ccl_instruction_increment(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; -} |