Files
tinygo/compiler
Ayke van Laethem a7794de99d compiler: fix interface lowering miscompilation with reflect
When using reflect, arbitrary types can be synthesized. This invalidates
a few assumptions in the interface-lowering pass, that think they can
see all types that are in use in a program and optimize accordingly.

The file size impact depends on the specific program. Sometimes it's
nonexistent, sometimes it's rather hefty (up to 30% bigger). Especially
the samd21 targets seem to be affected, with a 2000-6000 bytes increase
in code size. A moderately large case (the stdlib test) increases by
4%/6%/15% depending on the target.

I hope that this increase could be mitigated, but I don't see an obvious
way to do that.
2019-10-25 09:35:05 -04:00
..
2019-09-22 17:58:00 +02:00
2019-09-22 17:58:00 +02:00
2019-09-16 18:31:33 +02:00
2019-09-16 18:31:33 +02:00
2019-04-26 08:52:10 +02:00
2019-09-16 18:31:33 +02:00
2019-09-16 18:31:33 +02:00
2019-09-16 18:31:33 +02:00
2019-10-16 16:04:37 +02:00
2019-09-22 17:58:00 +02:00
2019-09-18 20:15:17 +02:00
2019-09-16 18:31:33 +02:00