Merge some impl blocks.
This commit is contained in:
parent
3ec2f121cc
commit
c629538dad
2 changed files with 0 additions and 4 deletions
|
@ -1213,9 +1213,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
|
||||||
mergeable_succ,
|
mergeable_succ,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
|
|
||||||
pub(crate) fn codegen_block(&mut self, mut bb: mir::BasicBlock) {
|
pub(crate) fn codegen_block(&mut self, mut bb: mir::BasicBlock) {
|
||||||
let llbb = match self.try_llbb(bb) {
|
let llbb = match self.try_llbb(bb) {
|
||||||
Some(llbb) => llbb,
|
Some(llbb) => llbb,
|
||||||
|
|
|
@ -1047,9 +1047,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
|
||||||
|
|
||||||
OperandValue::Pair(val, of)
|
OperandValue::Pair(val, of)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
|
|
||||||
pub(crate) fn rvalue_creates_operand(&self, rvalue: &mir::Rvalue<'tcx>, span: Span) -> bool {
|
pub(crate) fn rvalue_creates_operand(&self, rvalue: &mir::Rvalue<'tcx>, span: Span) -> bool {
|
||||||
match *rvalue {
|
match *rvalue {
|
||||||
mir::Rvalue::Cast(mir::CastKind::Transmute, ref operand, cast_ty) => {
|
mir::Rvalue::Cast(mir::CastKind::Transmute, ref operand, cast_ty) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue