mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 10:37:46 +00:00
b11a618d994475fd26466afd6d8b3b2450fb212f
In the Go SSA, global variables are initialized in the init() function instead of declaring them in the global itself. Work around this oddity by simply setting the correct initializer when we find this global. This should produce more efficient code, both in RAM and code size. Apparently LLVM didn't optimize it away on it's own.
Releases
6
Languages
Go
91.7%
Linker Script
2.8%
Assembly
2.7%
Makefile
1.2%
C++
0.5%
Other
0.9%