YJIT: Make PendingBranch::set_target must_use
[ci skip]
This commit is contained in:
parent
cb661d7d82
commit
8e509380a2
@ -1521,6 +1521,7 @@ impl std::fmt::Debug for Branch {
|
|||||||
impl PendingBranch {
|
impl PendingBranch {
|
||||||
/// Set up a branch target at `target_idx`. Find an existing block to branch to
|
/// Set up a branch target at `target_idx`. Find an existing block to branch to
|
||||||
/// or generate a stub for one.
|
/// or generate a stub for one.
|
||||||
|
#[must_use]
|
||||||
fn set_target(
|
fn set_target(
|
||||||
&self,
|
&self,
|
||||||
target_idx: u32,
|
target_idx: u32,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user