Update a comment.

This commit is contained in:
Dan Gohman
2018-04-20 21:42:13 -07:00
parent beddcc50f2
commit 9f0a35103a

View File

@@ -356,7 +356,7 @@ def gen_xform(xform, fmt, type_sets):
def gen_xform_group(xgrp, fmt, type_sets):
# type: (XFormGroup, Formatter, UniqueTable) -> None
fmt.doc_comment("Legalize the instruction pointed to by `pos`.")
fmt.doc_comment("Legalize `inst`.")
fmt.line('#[allow(unused_variables,unused_assignments,non_snake_case)]')
with fmt.indented('pub fn {}('.format(xgrp.name)):
fmt.line('inst: ir::Inst,')