Update rustfmt to 0.8.4; (#81)
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
232fb36d8f
commit
29dc723e25
@@ -137,21 +137,21 @@ mod tests {
|
||||
|
||||
// Register classes for testing.
|
||||
const GPR: RegClass = &RegClassData {
|
||||
name: "GPR",
|
||||
index: 0,
|
||||
width: 1,
|
||||
first: 28,
|
||||
subclasses: 0,
|
||||
mask: [0xf0000000, 0x0000000f, 0],
|
||||
};
|
||||
name: "GPR",
|
||||
index: 0,
|
||||
width: 1,
|
||||
first: 28,
|
||||
subclasses: 0,
|
||||
mask: [0xf0000000, 0x0000000f, 0],
|
||||
};
|
||||
const DPR: RegClass = &RegClassData {
|
||||
name: "DPR",
|
||||
index: 0,
|
||||
width: 2,
|
||||
first: 28,
|
||||
subclasses: 0,
|
||||
mask: [0x50000000, 0x0000000a, 0],
|
||||
};
|
||||
name: "DPR",
|
||||
index: 0,
|
||||
width: 2,
|
||||
first: 28,
|
||||
subclasses: 0,
|
||||
mask: [0x50000000, 0x0000000a, 0],
|
||||
};
|
||||
|
||||
#[test]
|
||||
fn put_and_take() {
|
||||
|
||||
@@ -100,10 +100,10 @@ mod tests {
|
||||
divs.regmove(v1, 10, 12);
|
||||
assert_eq!(divs.diversion(v1),
|
||||
Some(&Diversion {
|
||||
value: v1,
|
||||
from: 10,
|
||||
to: 12,
|
||||
}));
|
||||
value: v1,
|
||||
from: 10,
|
||||
to: 12,
|
||||
}));
|
||||
assert_eq!(divs.diversion(v2), None);
|
||||
|
||||
divs.regmove(v1, 12, 11);
|
||||
|
||||
@@ -414,8 +414,7 @@ impl Solver {
|
||||
if self.inputs_done {
|
||||
self.regs_out.free(constraint, from);
|
||||
}
|
||||
self.vars
|
||||
.push(Variable::new_live(value, constraint, from));
|
||||
self.vars.push(Variable::new_live(value, constraint, from));
|
||||
}
|
||||
|
||||
/// Check for conflicts between fixed input assignments and existing live values.
|
||||
|
||||
Reference in New Issue
Block a user