Mazdak Farrokhzad
55f76cdb2f
syntax: use distinct FloatTy from rustc_target.
...
We also sever syntax's dependency on rustc_target as a result.
This should slightly improve pipe-lining.
Moreover, some cleanup is done in related code.
2019-11-07 05:25:31 +01:00
Eduard-Mihai Burtescu
5059a3c7d4
rustc_codegen_ssa: move debuginfo-related things to a new mir::debuginfo module.
2019-10-31 20:00:15 +02:00
Nicholas Nethercote
b8214e9b44
Convert fields within DefPathData from InternedString to Symbol.
...
It's a full conversion, except in `DefKey::compute_stable_hash()` where
a `Symbol` now is converted to an `InternedString` before being hashed.
This was necessary to avoid test failures.
2019-10-21 17:17:36 +11:00
varkor
e2e0f9af85
Rename sty to kind
2019-09-25 15:50:04 +01:00
Philip Craig
61ff27aa1c
debuginfo: always include disambiguator in type names
2019-08-27 10:36:27 +10:00
Philip Craig
fbe3f3e98f
debuginfo: give unique names to closure and generator types
...
Closure types have been moved to the namespace where they
are defined, and both closure and generator type names now
include the disambiguator.
This fixes an exception when lldb prints nested closures.
Fixes #57822
2019-08-25 13:12:24 +10:00
Oliver Scherer
7710820d18
Fiddle param env through to try_eval_bits in most places
2019-08-05 17:48:05 +02:00
Oliver Scherer
9b87d22ea8
Don't abort on unevaluated constants without at least tryting to eval them
2019-08-05 17:48:04 +02:00
Jeremy Stucki
6ae80cf23f
Remove needless lifetimes
2019-07-03 10:01:01 +02:00
Eduard-Mihai Burtescu
afc39bbf24
Run rustfmt --file-lines ... for changes from previous commits.
2019-06-14 18:58:32 +03:00
Eduard-Mihai Burtescu
f3f9d6dfd9
Unify all uses of 'gcx and 'tcx.
2019-06-14 18:58:23 +03:00
Eduard-Mihai Burtescu
fff08cb043
Run rustfmt --file-lines ... for changes from previous commits.
2019-06-12 13:38:28 +03:00
Eduard-Mihai Burtescu
17cdd356da
rustc: replace TyCtxt<'tcx, 'gcx, 'tcx> with TyCtxt<'gcx, 'tcx>.
2019-06-12 13:38:27 +03:00
Eduard-Mihai Burtescu
2441253508
Fix fallout from deny(unused_lifetimes).
2019-06-12 13:38:27 +03:00
Eduard-Mihai Burtescu
37799a5552
rustc: replace TyCtxt<'a, 'gcx, 'tcx> with TyCtxt<'tcx, 'gcx, 'tcx>.
2019-06-12 13:38:27 +03:00
varkor
a3470c6189
Update handling of Tuple
2019-04-26 21:09:32 +01:00
bjorn3
d4e7b083ce
Move cg_llvm/debuginfo/type_names.rs to cg_ssa
2019-04-20 13:21:40 +02:00