Skip to content

Commit 8b06209

Browse files
committed
rustc_codegen_ssa: rename FnTypeLlvmExt to FnAbiLlvmExt.
1 parent 0ea40ec commit 8b06209

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: src/librustc_codegen_llvm/abi.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -300,15 +300,15 @@ impl ArgAbiMethods<'tcx> for Builder<'a, 'll, 'tcx> {
300300
}
301301
}
302302

303-
pub trait FnTypeLlvmExt<'tcx> {
303+
pub trait FnAbiLlvmExt<'tcx> {
304304
fn llvm_type(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type;
305305
fn ptr_to_llvm_type(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type;
306306
fn llvm_cconv(&self) -> llvm::CallConv;
307307
fn apply_attrs_llfn(&self, cx: &CodegenCx<'ll, 'tcx>, llfn: &'ll Value);
308308
fn apply_attrs_callsite(&self, bx: &mut Builder<'a, 'll, 'tcx>, callsite: &'ll Value);
309309
}
310310

311-
impl<'tcx> FnTypeLlvmExt<'tcx> for FnAbi<'tcx, Ty<'tcx>> {
311+
impl<'tcx> FnAbiLlvmExt<'tcx> for FnAbi<'tcx, Ty<'tcx>> {
312312
fn llvm_type(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type {
313313
let args_capacity: usize = self.args.iter().map(|arg|
314314
if arg.pad.is_some() { 1 } else { 0 } +

Diff for: src/librustc_codegen_llvm/declare.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
use crate::llvm;
1515
use crate::llvm::AttributePlace::Function;
16-
use crate::abi::{FnAbi, FnTypeLlvmExt};
16+
use crate::abi::{FnAbi, FnAbiLlvmExt};
1717
use crate::attributes;
1818
use crate::context::CodegenCx;
1919
use crate::type_::Type;

Diff for: src/librustc_codegen_llvm/type_.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use rustc_codegen_ssa::traits::*;
88

99
use crate::common;
1010
use crate::type_of::LayoutLlvmExt;
11-
use crate::abi::{LlvmType, FnTypeLlvmExt};
11+
use crate::abi::{LlvmType, FnAbiLlvmExt};
1212
use syntax::ast;
1313
use rustc::ty::Ty;
1414
use rustc::ty::layout::{self, Align, Size, TyLayout};

0 commit comments

Comments
 (0)