Tidy up unneeded references.

This commit is contained in:
Dan Gohman
2017-10-17 11:48:29 -07:00
parent e6c6f09e41
commit 35989f4069
3 changed files with 6 additions and 6 deletions

View File

@@ -363,7 +363,7 @@ def gen_xform_group(xgrp, fmt, type_sets):
with fmt.indented(') -> bool {', '}'):
fmt.line('use ir::InstBuilder;')
fmt.line('use cursor::{Cursor, FuncCursor};')
fmt.line('let pos = &mut FuncCursor::new(func).at_inst(inst);')
fmt.line('let mut pos = FuncCursor::new(func).at_inst(inst);')
fmt.line('pos.use_srcloc(inst);')
# Group the xforms by opcode so we can generate a big switch.