aboutsummaryrefslogtreecommitdiff
path: root/src/all_types.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-01-08 22:25:38 -0500
committerAndrew Kelley <superjoe30@gmail.com>2017-01-08 22:25:38 -0500
commit6caf32195af7aab084f3f2fee37239de0eb67adb (patch)
treee9d8fb542726bbf503b01627c1841181f93610c4 /src/all_types.hpp
parent76d0e49e612d661b57b795cd81f5ba06dc26ceca (diff)
downloadzig-6caf32195af7aab084f3f2fee37239de0eb67adb.tar.gz
zig-6caf32195af7aab084f3f2fee37239de0eb67adb.zip
pass unnecessary if statement test
Diffstat (limited to 'src/all_types.hpp')
-rw-r--r--src/all_types.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp
index 4449c5c9a6..7adc57370f 100644
--- a/src/all_types.hpp
+++ b/src/all_types.hpp
@@ -942,6 +942,7 @@ struct TypeTableEntry {
ZigLLVMDIType *di_type;
bool zero_bits;
+ bool size_depends_on_compile_var;
union {
TypeTableEntryPointer pointer;
@@ -1053,6 +1054,7 @@ enum BuiltinFnId {
BuiltinFnIdCompileVar,
BuiltinFnIdCompileErr,
BuiltinFnIdStaticEval,
+ BuiltinFnIdGeneratedCode,
BuiltinFnIdCtz,
BuiltinFnIdClz,
BuiltinFnIdImport,
@@ -1440,6 +1442,7 @@ enum IrInstructionId {
IrInstructionIdClz,
IrInstructionIdCtz,
IrInstructionIdStaticEval,
+ IrInstructionIdGeneratedCode,
IrInstructionIdImport,
IrInstructionIdCImport,
IrInstructionIdCInclude,
@@ -1856,6 +1859,12 @@ struct IrInstructionStaticEval {
IrInstruction *value;
};
+struct IrInstructionGeneratedCode {
+ IrInstruction base;
+
+ IrInstruction *value;
+};
+
struct IrInstructionImport {
IrInstruction base;