Enable a few more clippy lints.

This commit is contained in:
Dan Gohman
2018-07-26 10:10:36 -07:00
parent cc7ba7e69a
commit 15520fa961
4 changed files with 11 additions and 17 deletions

View File

@@ -188,13 +188,13 @@ fn optimize_complex_addresses(pos: &mut EncCursor, inst: Inst, isa: &TargetIsa)
flags,
offset,
} => MemOpInfo {
opcode: opcode,
inst: inst,
opcode,
inst,
itype: pos.func.dfg.ctrl_typevar(inst),
arg: arg,
arg,
st_arg: None,
flags: flags,
offset: offset,
flags,
offset,
add_args: None,
},
InstructionData::Store {
@@ -203,13 +203,13 @@ fn optimize_complex_addresses(pos: &mut EncCursor, inst: Inst, isa: &TargetIsa)
flags,
offset,
} => MemOpInfo {
opcode: opcode,
inst: inst,
opcode,
inst,
itype: pos.func.dfg.ctrl_typevar(inst),
arg: args[1],
st_arg: Some(args[0]),
flags: flags,
offset: offset,
flags,
offset,
add_args: None,
},
_ => return,