Skip to content

Commit 67f5c16

Browse files
authored
Fix documentation for inst_clobbers (#89)
Clobbers don't conflict with early uses, so they effectively act as a late def, not an early def.
1 parent 061963f commit 67f5c16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ pub trait Function {
10321032
/// that must be live across the instruction.
10331033
///
10341034
/// Another way of seeing this is that a clobber is equivalent to
1035-
/// an "early def" of a fresh vreg that is not used anywhere else
1035+
/// a "late def" of a fresh vreg that is not used anywhere else
10361036
/// in the program, with a fixed-register constraint that places
10371037
/// it in a given PReg chosen by the client prior to regalloc.
10381038
///

0 commit comments

Comments
 (0)