- Terminator::Call { ref func, ref args, ref destination, cleanup: _ } => {
- let source = Location { block: bb,
- index: bb_data.statements.len() };
- bb_ctxt.on_operand(SK::CallFn, func, source);
- for arg in args {
- bb_ctxt.on_operand(SK::CallArg, arg, source);
- }
- if let Some((ref destination, _bb)) = *destination {
- // Create MovePath for `destination`, then
- // discard returned index.
- bb_ctxt.builder.move_path_for(destination);
- }
+ TerminatorKind::Call { ref func, ref args, ref destination, cleanup: _ } => {
+ let source = Location { block: bb,
+ index: bb_data.statements.len() };
+ bb_ctxt.on_operand(SK::CallFn, func, source);
+ for arg in args {
+ bb_ctxt.on_operand(SK::CallArg, arg, source);
+ }
+ if let Some((ref destination, _bb)) = *destination {
+ // Create MovePath for `destination`, then
+ // discard returned index.
+ bb_ctxt.builder.move_path_for(destination);