zig/src
Andrew Kelley 2dfb1ebee2 const global values can reference each other
Before, if you did something like:

```
const hi1 = "hi";
const hi2 = hi1;
```

This would create the "hi" data twice in the built object.
But since the value is const we don't have to duplicate the
data, now we take advantage of this fact.

closes #336
2017-05-27 00:54:14 -04:00
..
all_types.hpp const global values can reference each other 2017-05-27 00:54:14 -04:00
analyze.cpp const global values can reference each other 2017-05-27 00:54:14 -04:00
analyze.hpp const global values can reference each other 2017-05-27 00:54:14 -04:00
ast_render.cpp building with mingw for windows 2017-05-23 00:26:12 -04:00
ast_render.hpp make undefined as a constant value lazy 2017-04-23 14:34:40 -04:00
bignum.cpp building with mingw for windows 2017-05-23 00:26:12 -04:00
bignum.hpp builtin functions for division and remainder division 2017-05-06 23:13:12 -04:00
buffer.cpp
buffer.hpp fix some -Wconversion errors 2017-04-10 20:02:39 -04:00
c_tokenizer.cpp fix some -Wconversion errors 2017-04-10 20:02:39 -04:00
c_tokenizer.hpp
codegen.cpp const global values can reference each other 2017-05-27 00:54:14 -04:00
codegen.hpp add safe release build mode 2017-05-02 17:34:21 -04:00
config.h.in add --each-lib-rpath option and corresponding config option 2017-03-13 13:11:55 -04:00
errmsg.cpp building with mingw for windows 2017-05-23 00:26:12 -04:00
errmsg.hpp
error.cpp builtin functions for division and remainder division 2017-05-06 23:13:12 -04:00
error.hpp builtin functions for division and remainder division 2017-05-06 23:13:12 -04:00
hash_map.hpp
ir_print.cpp building with mingw for windows 2017-05-23 00:26:12 -04:00
ir_print.hpp make undefined as a constant value lazy 2017-04-23 14:34:40 -04:00
ir.cpp const global values can reference each other 2017-05-27 00:54:14 -04:00
ir.hpp make undefined as a constant value lazy 2017-04-23 14:34:40 -04:00
link.cpp building with mingw for windows 2017-05-23 00:26:12 -04:00
link.hpp
list.hpp fix some -Wconversion errors 2017-04-10 20:02:39 -04:00
main.cpp add safe release build mode 2017-05-02 17:34:21 -04:00
os.cpp building with mingw for windows 2017-05-23 00:26:12 -04:00
os.hpp building with mingw for windows 2017-05-23 00:26:12 -04:00
parseh.cpp building with mingw for windows 2017-05-23 00:26:12 -04:00
parseh.hpp
parser.cpp change slicing syntax from ... to .. 2017-05-19 10:39:59 -04:00
parser.hpp
range_set.cpp switch expression - add compile errors 2017-05-07 12:07:35 -04:00
range_set.hpp switch expression - add compile errors 2017-05-07 12:07:35 -04:00
target.cpp building with mingw for windows 2017-05-23 00:26:12 -04:00
target.hpp fix crash when using zig to link 2017-04-13 01:15:25 -04:00
tokenizer.cpp change slicing syntax from ... to .. 2017-05-19 10:39:59 -04:00
tokenizer.hpp change slicing syntax from ... to .. 2017-05-19 10:39:59 -04:00
util.cpp fix some -Wconversion errors 2017-04-10 20:02:39 -04:00
util.hpp correct size of types for packed structs 2017-02-21 14:22:23 -05:00
zig_llvm.cpp back to AT&T syntax for assembly 2017-04-30 11:28:11 -04:00
zig_llvm.hpp back to AT&T syntax for assembly 2017-04-30 11:28:11 -04:00