Move default blocks into jump tables (#5756)
Move the default block off of the br_table instrution, and into the JumpTable that it references.
This commit is contained in:
@@ -15,10 +15,6 @@ pub(crate) struct EntityRefs {
|
||||
/// This is primarily used in control flow instructions.
|
||||
pub(crate) block_call: OperandKind,
|
||||
|
||||
/// A reference to a basic block in the same function.
|
||||
/// This is primarily used in control flow instructions.
|
||||
pub(crate) label: OperandKind,
|
||||
|
||||
/// A reference to a basic block in the same function, with its arguments provided.
|
||||
/// This is primarily used in control flow instructions.
|
||||
pub(crate) block_then: OperandKind,
|
||||
@@ -63,12 +59,6 @@ impl EntityRefs {
|
||||
"a basic block in the same function, with its arguments provided.",
|
||||
),
|
||||
|
||||
label: new(
|
||||
"destination",
|
||||
"ir::Block",
|
||||
"a basic block in the same function.",
|
||||
),
|
||||
|
||||
block_then: new(
|
||||
"block_then",
|
||||
"ir::BlockCall",
|
||||
|
||||
Reference in New Issue
Block a user