diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/qbt/nodes.h | 2 | ||||
| -rw-r--r-- | include/qbt/vec.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/qbt/nodes.h b/include/qbt/nodes.h index d8de9fe..49cb11a 100644 --- a/include/qbt/nodes.h +++ b/include/qbt/nodes.h @@ -17,6 +17,7 @@ enum insn_type { STORE, LOAD, ALLOC, + DEALLOC, COPY, MOVE, BLIT, @@ -67,6 +68,7 @@ enum insn_flags { M(STORE) \ M(LOAD) \ M(ALLOC) \ + M(DEALLOC) \ M(COPY) \ M(MOVE) \ M(BLIT) \ diff --git a/include/qbt/vec.h b/include/qbt/vec.h index 79970a6..a712b7a 100644 --- a/include/qbt/vec.h +++ b/include/qbt/vec.h @@ -21,7 +21,7 @@ void vec_append(struct vec *v, void *n); void vec_insert(struct vec *v, void *n, size_t i); #define foreach_vec(iter, v) \ - for (size_t iter = 0, __n = vec_len(&v); iter < __n; ++iter) + for (size_t iter = 0; iter < vec_len(&v); ++iter) #define vect_at(type, v, i) \ *(type *)vec_at(&v, i) |
