Skip to content

Commit cf441a9

Browse files
committed
Fix warnings in docs, fix ignoring symlink.
1 parent a3f0882 commit cf441a9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Cargo.lock
2-
target/
2+
target
33
.*.swp
44
*~

src/checker.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@
6565
//!
6666
//! - `Edit::Move` inserted by RA: [ alloc_d := alloc_s ]
6767
//!
68-
//! A' = A[alloc_d → A[alloc_s]]
68+
//! A' = A[alloc_d → A\[alloc_s\]]
6969
//!
7070
//! - statement in pre-regalloc function [ V_i := op V_j, V_k, ... ]
7171
//! with allocated form [ A_i := op A_j, A_k, ... ]
7272
//!
73-
//! A' = { A_k → A[A_k] \ { V_i } for k ≠ i } ∪
73+
//! A' = { A_k → A\[A_k\] \ { V_i } for k ≠ i } ∪
7474
//! { A_i -> { V_i } }
7575
//!
7676
//! In other words, a statement, even after allocation, generates
@@ -81,7 +81,7 @@
8181
//! - Parallel moves or blockparam-assignments in original program
8282
//! [ V_d1 := V_s1, V_d2 := V_s2, ... ]
8383
//!
84-
//! A' = { A_k → subst(A[A_k]) for all k }
84+
//! A' = { A_k → subst(A\[A_k\]) for all k }
8585
//! where subst(S) removes symbols for overwritten virtual
8686
//! registers (V_d1 .. V_dn) and then adds V_di whenever
8787
//! V_si appeared prior to the removals.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ impl Operand {
912912
}
913913

914914
/// If this operand is for a fixed non-allocatable register (see
915-
/// [`Operand::fixed`]), then returns the physical register that it will
915+
/// [`OperandConstraint::FixedReg`]), then returns the physical register that it will
916916
/// be assigned to.
917917
#[inline(always)]
918918
pub fn as_fixed_nonallocatable(self) -> Option<PReg> {

0 commit comments

Comments
 (0)