Files
rust/src/librustc_interface
Mark Rousskov b98633b94c Store callbacks in global statics
The callbacks have precisely two states: the default, and the one
present throughout almost all of the rustc run (the filled in value
which has access to TyCtxt).

We used to store this as a thread local, and reset it on each thread to
the non-default value. But this is somewhat wasteful, since there is no
reason to set it globally -- while the callbacks themselves access TLS,
they do not do so in a manner that fails in when we do not have TLS to
work with.
2019-12-25 14:10:46 -05:00
..
2019-12-25 14:10:46 -05:00
2019-12-22 17:42:47 -05:00
2019-12-25 14:10:46 -05:00
2019-12-22 17:42:47 -05:00
2019-12-22 17:42:47 -05:00
2019-12-22 17:42:47 -05:00
2019-12-22 17:42:47 -05:00
2019-12-25 14:10:46 -05:00