Skip to content

Commit e6ec968

Browse files
committed
rustc_codegen_ssa: rename debuginfo_upvar_decls_ops_sequence to debuginfo_upvar_ops_sequence.
1 parent 2384e98 commit e6ec968

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/librustc_codegen_llvm/debuginfo/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ impl DebugInfoMethods<'tcx> for CodegenCx<'ll, 'tcx> {
542542
finalize(self)
543543
}
544544

545-
fn debuginfo_upvar_decls_ops_sequence(&self, byte_offset_of_var_in_env: u64) -> [i64; 4] {
545+
fn debuginfo_upvar_ops_sequence(&self, byte_offset_of_var_in_env: u64) -> [i64; 4] {
546546
unsafe {
547547
[llvm::LLVMRustDIBuilderCreateOpDeref(),
548548
llvm::LLVMRustDIBuilderCreateOpPlusUconst(),

src/librustc_codegen_ssa/mir/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ fn arg_local_refs<'a, 'tcx: 'a, Bx: BuilderMethods<'a, 'tcx>>(
673673
for (field, name, by_ref, ty) in extra_locals {
674674
let byte_offset_of_var_in_env = closure_layout.fields.offset(field).bytes();
675675

676-
let ops = bx.debuginfo_upvar_decls_ops_sequence(byte_offset_of_var_in_env);
676+
let ops = bx.debuginfo_upvar_ops_sequence(byte_offset_of_var_in_env);
677677

678678
// The environment and the capture can each be indirect.
679679
let mut ops = if env_ref { &ops[..] } else { &ops[1..] };

src/librustc_codegen_ssa/traits/debuginfo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub trait DebugInfoMethods<'tcx>: BackendTypes {
3737
defining_crate: CrateNum,
3838
) -> Self::DIScope;
3939
fn debuginfo_finalize(&self);
40-
fn debuginfo_upvar_decls_ops_sequence(&self, byte_offset_of_var_in_env: u64) -> [i64; 4];
40+
fn debuginfo_upvar_ops_sequence(&self, byte_offset_of_var_in_env: u64) -> [i64; 4];
4141
}
4242

4343
pub trait DebugInfoBuilderMethods<'tcx>: BackendTypes {

0 commit comments

Comments
 (0)