Skip to content

Commit 116e5a6

Browse files
authored
Bump regalloc2 to 0.6.0 (#5742)
* Bump regalloc2 * Certify regalloc2 0.6.0
1 parent 1210940 commit 116e5a6

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cranelift/codegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ serde = { version = "1.0.94", features = ["derive"], optional = true }
2525
bincode = { version = "1.2.1", optional = true }
2626
gimli = { workspace = true, features = ["write"], optional = true }
2727
smallvec = { workspace = true }
28-
regalloc2 = { version = "0.5.1", features = ["checker"] }
28+
regalloc2 = { version = "0.6.0", features = ["checker"] }
2929
souper-ir = { version = "2.1.0", optional = true }
3030
sha2 = { version = "0.10.2", optional = true }
3131
# It is a goal of the cranelift-codegen crate to have minimal external dependencies.

cranelift/codegen/src/machinst/vcode.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use crate::trace;
2727
use crate::CodegenError;
2828
use crate::ValueLocRange;
2929
use regalloc2::{
30-
Edit, Function as RegallocFunction, InstOrEdit, InstRange, Operand, OperandKind, PReg, PRegSet,
30+
Edit, Function as RegallocFunction, InstOrEdit, InstRange, Operand, OperandKind, PRegSet,
3131
RegClass, VReg,
3232
};
3333

@@ -1316,10 +1316,6 @@ impl<I: VCodeInst> RegallocFunction for VCode<I> {
13161316
&self.debug_value_labels[..]
13171317
}
13181318

1319-
fn is_pinned_vreg(&self, vreg: VReg) -> Option<PReg> {
1320-
pinned_vreg_to_preg(vreg)
1321-
}
1322-
13231319
fn spillslot_size(&self, regclass: RegClass) -> usize {
13241320
self.abi.get_spillslot_size(regclass) as usize
13251321
}

supply-chain/audits.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,12 @@ criteria = "safe-to-deploy"
563563
delta = "0.5.0 -> 0.5.1"
564564
notes = "The Bytecode Alliance is the author of this crate."
565565

566+
[[audits.regalloc2]]
567+
who = "Trevor Elliott <[email protected]>"
568+
criteria = "safe-to-deploy"
569+
delta = "0.5.1 -> 0.6.0"
570+
notes = "The Bytecode Alliance is the author of this crate."
571+
566572
[[audits.rustc-demangle]]
567573
who = "Alex Crichton <[email protected]>"
568574
criteria = "safe-to-deploy"

winch/codegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ target-lexicon = { workspace = true, features = ["std"] }
1717
# In the next iteration we'll factor out the common bits so that they can be consumed
1818
# by Cranelift and Winch.
1919
cranelift-codegen = { workspace = true }
20-
regalloc2 = "0.5.1"
20+
regalloc2 = "0.6.0"
2121

2222
[features]
2323
x64 = ["cranelift-codegen/x86"]

0 commit comments

Comments
 (0)