diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-10-27 01:08:06 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-10-27 01:08:06 -0400 |
| commit | bfcd6648e70bfe647b6fea9d6d9a024c4a9169d4 (patch) | |
| tree | 2b1c65292a34e10f9324cd0274806a3b76a06a7f /src/ir.hpp | |
| parent | 44d6f8ffd8eac02747fa0f915b925bb2112570dd (diff) | |
| download | zig-bfcd6648e70bfe647b6fea9d6d9a024c4a9169d4.tar.gz zig-bfcd6648e70bfe647b6fea9d6d9a024c4a9169d4.zip | |
IR can inline loops
Diffstat (limited to 'src/ir.hpp')
| -rw-r--r-- | src/ir.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.hpp b/src/ir.hpp index af1dfe96ec..6c1c9a9fc9 100644 --- a/src/ir.hpp +++ b/src/ir.hpp @@ -14,7 +14,7 @@ IrInstruction *ir_gen(CodeGen *g, AstNode *node, BlockContext *scope, IrExecutab IrInstruction *ir_gen_fn(CodeGen *g, FnTableEntry *fn_entry); TypeTableEntry *ir_analyze(CodeGen *g, IrExecutable *old_executable, IrExecutable *new_executable, - TypeTableEntry *expected_type); + TypeTableEntry *expected_type, AstNode *expected_type_source_node); bool ir_has_side_effects(IrInstruction *instruction); |
