diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-02-12 15:51:12 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-02-12 15:51:12 -0700 |
| commit | b8a1cb299eccce24410454d36ebc755dfd0293cd (patch) | |
| tree | 8969d97b750abd41b10f23f0bc05a10f1d81c728 /src/all_types.hpp | |
| parent | 9bf9be993791833f88bfbf049875dce50b64cd45 (diff) | |
| download | zig-b8a1cb299eccce24410454d36ebc755dfd0293cd.tar.gz zig-b8a1cb299eccce24410454d36ebc755dfd0293cd.zip | |
avoid codegening functions never called from conditional compilation
Diffstat (limited to 'src/all_types.hpp')
| -rw-r--r-- | src/all_types.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp index d2d46534f3..adb9b34f95 100644 --- a/src/all_types.hpp +++ b/src/all_types.hpp @@ -1207,6 +1207,9 @@ struct BlockContext { LLVMZigDIScope *di_scope; Buf *c_import_buf; + + // if this is true, then this code will not be generated + bool codegen_excluded; }; |
