Doug Gregor
c9b7ec935f
[Runtime] Round up tuple labels allocation size to alignment of a pointer.
...
The metadata allocation functions assume this alignment, and we
weren't guaranteeing it.
2018-01-08 13:12:25 -08:00
Doug Gregor
909e882110
[Runtime] Support "ModuleName.ClassName" syntax for mangled type lookup.
2018-01-06 23:56:51 -08:00
Doug Gregor
78e8ad87be
[Runtime] Find (simple) nominal types based on a mangled name.
2018-01-06 23:30:31 -08:00
Doug Gregor
04a151d8a0
[Runtime] Form existential types and existential types based on mangled names.
...
Introduce basic support for existential types (just Any and AnyObject), so
we can test those, shared/owned parameters, and existential metatypes.
2018-01-05 16:56:56 -08:00
Doug Gregor
33f89a1344
[Runtime] Form metatypes based on mangled names.
2018-01-05 16:34:55 -08:00
Doug Gregor
83fd37a2d0
[Runtime] Form function types based on mangled names.
...
Fixes some issues in the type decoder with function flags not getting
set when forming function types.
2018-01-05 16:23:49 -08:00
Doug Gregor
7148e84099
[Runtime] Stub out the implementation of _typeByMangledName().
...
Introduce a standard library/runtime entry point that produces type metadata
given a mangled name, based on the TypeDecoder logic lifted from the remote
mirrors library.
Implement support for tuple types as a proof-of-concept.
2018-01-05 15:42:45 -08:00