Mahdi Dibaiee
e55583c4b8
refactor(rustc_middle): Substs -> GenericArg
2023-07-14 13:27:35 +01:00
Nicholas Nethercote
b4c6e19ade
Replace a lookup_debug_loc
call.
...
`lookup_debug_loc` finds a file, line, and column, which requires two
binary searches. But this call site only needs the file.
This commit replaces the call with `lookup_source_file`, which does a
single binary search.
2023-06-29 11:31:43 +10:00
lcnr
08d149ca85
EarlyBinder::new -> EarlyBinder::bind
2023-05-29 13:46:10 +02:00
Kyle Matsuda
03534ac8b7
Replace EarlyBinder(x) with EarlyBinder::new(x)
2023-05-28 10:44:50 -06:00
Kyle Matsuda
e5d10cdbc3
make (try_)subst_and_normalize_erasing_regions take EarlyBinder
2023-05-06 22:32:39 -06:00
Maybe Waffle
e496fbec92
Split {Idx, IndexVec, IndexSlice}
into their own modules
2023-04-24 13:53:35 +00:00
SparrowLii
843e8d19ec
not need Option
for dbg_scope
2022-04-26 21:00:19 +08:00
Jubilee Young
f5f0e6d551
Skip needless bitset for debuginfo
2022-03-25 03:55:18 -07:00
LegionMammal978
4937a55dfb
Remove in_band_lifetimes
from rustc_codegen_llvm
...
See #91867 for more information.
2021-12-16 14:43:32 -05:00
Guillaume Gomez
759eba0a08
Fix clippy lints
2021-10-01 23:17:19 +02:00
Eduard-Mihai Burtescu
c1837ef1c5
Querify fn_abi_of_{fn_ptr,instance}
.
2021-09-18 04:41:33 +03:00
Eduard-Mihai Burtescu
e9b68304ef
ty::layout: replicate layout_of
setup for fn_abi_of_{fn_ptr,instance}
.
2021-09-18 04:41:29 +03:00
Nathan Nguyen
408d4027d0
nhwn: use plain u32 in DebugLoc
2021-02-20 11:46:58 -06:00
Nathan Nguyen
f5aa1bceb9
nhwn: use Option<NonZeroU32> in DebugLoc
2021-02-20 11:46:50 -06:00
Bastian Kauschke
2bf93bd852
compiler: fold by value
2020-11-16 22:34:57 +01:00
Eduard-Mihai Burtescu
0ce4452fce
rustc_codegen_llvm: add support for inlined function debuginfo.
2020-10-21 04:43:57 +03:00
Eduard-Mihai Burtescu
737499593d
rustc_codegen_llvm: expose DILocation to rustc_codegen_ssa.
2020-10-21 04:43:57 +03:00
Eduard-Mihai Burtescu
fa2b381ec8
rustc_codegen_llvm: move DISubprogram creation to a dbg_scope_fn method.
2020-10-21 04:43:57 +03:00
Eduard-Mihai Burtescu
9d57c417fc
rustc_codegen_llvm: create DIFile
s from just SourceFile
s.
2020-10-21 04:43:56 +03:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00