diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arena.c | 3 | ||||
-rw-r--r-- | src/codegen.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/arena.c b/src/arena.c index e7091fb..880befd 100644 --- a/src/arena.c +++ b/src/arena.c @@ -137,7 +137,8 @@ mkblk(size_t cap) if (a == NULL) err("malloc:"); a->cap = cap; - a->data = mmap(NULL, cap, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); + a->data = mmap(NULL, cap, PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_ANON, -1, 0); if (a->data == MAP_FAILED) err("mmap:"); a->free = a->data; diff --git a/src/codegen.c b/src/codegen.c index 1431693..3bb3155 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -135,8 +135,8 @@ codegenstmt(struct cgctx ctx, mpq_t *folds, type_t *types, ast_t ast, } LLVMValueRef v; - i = codegentypedexpr(ctx, folds, types, ast, aux, toks, expr, types[i], - &v); + i = codegentypedexpr(ctx, folds, types, ast, aux, + toks, expr, types[i], &v); (void)LLVMBuildRet(ctx.bob, v); return i; } |