Files
tinygo/compiler/testdata
Ayke van Laethem 409688e67a compiler: fix equally named structs in different scopes
For example, in this code:

    type kv struct {
           v float32
    }

    func foo(a *kv) {
           type kv struct {
                   v byte
           }
    }

Both 'kv' types would be given the same LLVM type, even though they are
different types! This is fixed by only creating a LLVM type once per Go
type (types.Type).

As an added bonus, this change gives a performance improvement of about
0.4%. Not that much, but certainly not nothing for such a small change.
2021-09-08 10:02:57 +02:00
..
2021-05-09 17:40:13 +02:00
2021-04-12 12:07:42 +02:00
2021-05-09 17:40:13 +02:00
2021-03-28 14:00:37 +02:00
2021-06-17 12:17:32 +02:00
2021-01-15 14:43:43 +01:00
2021-05-09 17:40:13 +02:00
2021-08-17 08:16:27 +02:00
2021-05-09 17:40:13 +02:00