Browse Source

Remove an unneeded block.

pull/3/head
Dan Gohman 7 years ago
parent
commit
fc857a758e
  1. 22
      src/main.rs

22
src/main.rs

@ -363,18 +363,16 @@ fn pretty_print_translation(
}
_ => panic!("wrong content in code section"),
}
{
loop {
match parser.read() {
s @ &ParserState::EndFunctionBody => {
parser_writer.write(s)?;
break;
}
s => {
parser_writer.write(s)?;
}
};
}
loop {
match parser.read() {
s @ &ParserState::EndFunctionBody => {
parser_writer.write(s)?;
break;
}
s => {
parser_writer.write(s)?;
}
};
}
let mut function_string =
format!(" {}", translation.functions[function_index].display(isa));

Loading…
Cancel
Save