aboutsummaryrefslogtreecommitdiff
path: root/src/all_types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/all_types.hpp')
-rw-r--r--src/all_types.hpp2
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 {