Commit Graph

7 Commits

Author SHA1 Message Date
Vadim Petrochenkov 01b6d7cc6f libsyntax_pos: Tweak some visibilities 2018-07-08 16:17:36 +03:00
Nicholas Nethercote 77c40f8c6f Inline Span methods.
Because they are simple and hot.

This change speeds up some incremental runs of a few rustc-perf
benchmarks, the best by 3%.
2018-05-09 20:14:03 +10:00
John Kåre Alsaker cbdf4ec03e Remove syntax and syntax_pos thread locals 2018-03-14 11:56:01 +01:00
Oliver Schneider 52dec0e1c9 Don't derive traits on packed structs 2018-03-08 08:35:39 +01:00
Nadav Zingerman 0220600a0d Fix comment formatting 2017-11-05 01:24:20 +02:00
Nadav Zingerman 2304b3a7f1 Add comment explaining the ctxt field in Span 2017-11-04 15:54:03 +02:00
Vadim Petrochenkov 52251cd930 Compress "small" spans to 32 bits and intern "large" spans 2017-09-23 00:34:13 +03:00