Keep a comment in sync with the code.

This commit is contained in:
Dan Gohman
2018-06-21 16:24:33 -07:00
parent 593e2bae6c
commit 979162522e

View File

@@ -128,9 +128,9 @@ fn fallthroughs(func: &mut Function) {
}
}
/// Relax the branch instruction at `pos` so it can cover the range `offset - dest_offset`.
/// Relax the branch instruction at `cur` so it can cover the range `offset - dest_offset`.
///
/// Return the size of the replacement instructions up to and including the location where `pos` is
/// Return the size of the replacement instructions up to and including the location where `cur` is
/// left.
fn relax_branch(
cur: &mut FuncCursor,