diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-10-16 02:19:01 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-10-16 02:19:01 -0400 |
| commit | ac6d1674e3384bacd6893191feaf814a23d24b08 (patch) | |
| tree | 644fc69b51f3800aa3f1a693bf04ef1f8fdb9afd /src/ir.hpp | |
| parent | ce3c52471dd8a86e429ea037f4344b243723eb74 (diff) | |
| download | zig-ac6d1674e3384bacd6893191feaf814a23d24b08.tar.gz zig-ac6d1674e3384bacd6893191feaf814a23d24b08.zip | |
IR working for if statements
Diffstat (limited to 'src/ir.hpp')
| -rw-r--r-- | src/ir.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir.hpp b/src/ir.hpp index 101c8b60aa..af1dfe96ec 100644 --- a/src/ir.hpp +++ b/src/ir.hpp @@ -16,4 +16,6 @@ IrInstruction *ir_gen_fn(CodeGen *g, FnTableEntry *fn_entry); TypeTableEntry *ir_analyze(CodeGen *g, IrExecutable *old_executable, IrExecutable *new_executable, TypeTableEntry *expected_type); +bool ir_has_side_effects(IrInstruction *instruction); + #endif |
