about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-08-28 15:55:32 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-09-05 07:37:11 -0700
commitdff0c074e467a1fbbeab44ffbd8da4882683b694 (patch)
tree08c1104e31ab1dde70b97eb6eaedd7f97dc3bfa1 /src/rustllvm/RustWrapper.cpp
parent2f1ef9ef1181298d46e79d5dde6bafeb6483926f (diff)
downloadrust-dff0c074e467a1fbbeab44ffbd8da4882683b694.tar.gz
rust-dff0c074e467a1fbbeab44ffbd8da4882683b694.zip
rustc: Move a few more cstore methods to queries
This comit applies the following changes:

* Deletes the `is_allocator` query as it's no longer used
* Moves the `is_sanitizer_runtime` method to a query
* Moves the `is_profiler_runtime` method to a query
* Moves the `panic_strategy` method to a query
* Moves the `is_no_builtins` method to a query
* Deletes the cstore method of `is_compiler_builtins`. The query was added in
  #42588 but the `CrateStore` method was not deleted

A good bit of these methods were used late in linking during trans so a new
dedicated structure was created to ship a calculated form of this information
over to the linker rather than having to ship the whole of `TyCtxt` over to
linking.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions