Bastian Kauschke
3435683fd5
use array_windows instead of windows in the compiler
2020-09-20 08:11:05 +02:00
Bastian Kauschke
1146c39da7
cache types during normalization
2020-09-19 17:27:13 +02:00
Mara Bos
1e2dba1e7c
Use T::BITS instead of size_of::<T> * 8.
2020-09-19 06:54:42 +02:00
est31
ebdea01143
Remove redundant #![feature(...)] 's from compiler/
2020-09-17 07:58:45 +02:00
est31
4fe6ca3789
Replace const_generics feature gate with min_const_generics
...
The latter is on the path to stabilization.
2020-09-17 07:08:53 +02:00
Scott McMurray
fac272688e
Use ops::ControlFlow in graph::iterate
2020-09-04 01:45:10 -07:00
Josh Stone
469ca379d6
Avoid rehashing Fingerprint as a map key
...
This introduces a no-op `Unhasher` for map keys that are already hash-
like, for example `Fingerprint` and its wrapper `DefPathHash`. For these
we can directly produce the `u64` hash for maps. The first use of this
is `def_path_hash_to_def_id: Option<UnhashMap<DefPathHash, DefId>>`.
2020-09-01 18:27:02 -07:00
marmeladema
68500ffacb
datastructures: replace once_cell crate with an impl from std
2020-08-30 20:06:14 +01:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00