Alex Crichton 87ede2da54 rustc: Improve compile time of platform intrinsics
This commit improves the compile time of `rustc_platform_intrinsics` from 23s to
3.6s if compiling with `-O` and from 77s to 17s if compiling with `-O -g`. The
compiled rlib size also drops from 3.1M to 1.2M.

The wins here were gained by removing the destructors associated with `Type` by
removing the internal `Box` and `Vec` indirections. These destructors meant that
a lot of landing pads and extra code were generated to manage the runtime
representations. Instead everything can basically be statically computed and
shoved into rodata, so all we need is a giant string compare to lookup what's
what.

Closes #28273
2016-03-15 17:32:34 -07:00
..
2016-02-04 16:28:08 +01:00
2015-12-25 15:46:36 -05:00
2015-06-01 20:50:35 +03:00
2015-07-30 06:35:42 +10:00
2016-01-31 17:19:38 -05:00
2015-01-27 01:26:02 -08:00
2015-01-16 08:49:54 -08:00
2016-01-31 18:57:26 +03:00
2016-02-16 06:30:30 +01:00
2015-12-13 15:05:43 -06:00
2016-01-31 19:01:30 +03:00
2015-12-25 15:46:36 -05:00
2014-03-12 11:31:05 +11:00