diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-01-04 23:21:33 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-01-04 23:21:33 -0500 |
| commit | c32a060d4fd432002d32ff17a4cf9ae491cddfc0 (patch) | |
| tree | e7754a644be63c3922d68b1bc67b6c2e5cf424d9 /src/all_types.hpp | |
| parent | 664b41af65d3c9bbc8e09ffcaa91d404fe87d7a0 (diff) | |
| download | zig-c32a060d4fd432002d32ff17a4cf9ae491cddfc0.tar.gz zig-c32a060d4fd432002d32ff17a4cf9ae491cddfc0.zip | |
IR: add unreachable code compiler error
Diffstat (limited to 'src/all_types.hpp')
| -rw-r--r-- | src/all_types.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp index f9d79e9dff..c084fd31a1 100644 --- a/src/all_types.hpp +++ b/src/all_types.hpp @@ -1494,6 +1494,8 @@ struct IrInstruction { size_t ref_count; IrInstruction *other; IrBasicBlock *owner_bb; + // true if this instruction was generated by zig and not from user code + bool is_gen; }; struct IrInstructionCondBr { |
