diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-10-06 01:09:01 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-10-06 01:09:01 -0400 |
| commit | 07fe60ded1727d528d3ae36b892aa7c84262ed96 (patch) | |
| tree | 733a4aa3c8327d0ceb831cf122c84484b6a13d10 /src/ir.hpp | |
| parent | cd1bd78aa9b4120ee95cd6347b7adce0d460f9d2 (diff) | |
| download | zig-07fe60ded1727d528d3ae36b892aa7c84262ed96.tar.gz zig-07fe60ded1727d528d3ae36b892aa7c84262ed96.zip | |
IR in 2 passes
Diffstat (limited to 'src/ir.hpp')
| -rw-r--r-- | src/ir.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ir.hpp b/src/ir.hpp index c9ebbd3903..101c8b60aa 100644 --- a/src/ir.hpp +++ b/src/ir.hpp @@ -13,6 +13,7 @@ IrInstruction *ir_gen(CodeGen *g, AstNode *node, BlockContext *scope, IrExecutable *ir_executable); IrInstruction *ir_gen_fn(CodeGen *g, FnTableEntry *fn_entry); -TypeTableEntry *ir_analyze(CodeGen *g, IrExecutable *executable, TypeTableEntry *expected_type); +TypeTableEntry *ir_analyze(CodeGen *g, IrExecutable *old_executable, IrExecutable *new_executable, + TypeTableEntry *expected_type); #endif |
