diff options
Diffstat (limited to 'src/ir.cff')
| -rw-r--r-- | src/ir.cff | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ir.cff b/src/ir.cff new file mode 100644 index 0000000..8b28746 --- /dev/null +++ b/src/ir.cff @@ -0,0 +1,10 @@ +import "ir.hff"; + +extern fn mkirctx(alloc *Allocator) *IRCtx { + let ctx *IRCtx = anew(alloc, IRCtx); + ctx.alloc = alloc; + return ctx; +} + +extern fn ir_free(IR *IRCtx) void { +} |