tinygo/compiler
Ayke van Laethem fdfa810060
compiler: expand small structs
Use fields of small structs (3 or less fields when flattened
recursively) directly as parameter values.

Advantages:
  * Code size is slightly reduced, both on unix and nrf.
  * AVR can finally deal with struct parameters - at least the small
    ones. examples/test now compiles. A real fix for struct parameters
    should go into upstream LLVM, but this is a nice win.

fixes #20
2018-09-23 02:39:05 +02:00
..
calls.go compiler: expand small structs 2018-09-23 02:39:05 +02:00
compiler.go compiler: expand small structs 2018-09-23 02:39:05 +02:00
sizes.go compiler: refactor compiler into separate package 2018-09-22 20:32:28 +02:00
util.go compiler: refactor compiler into separate package 2018-09-22 20:32:28 +02:00