Merge add_handler into catch_switch
Some codegen backends may require all handlers to be immediately known
This commit is contained in:
@@ -441,9 +441,8 @@ pub trait BuilderMethods<'a, 'tcx>:
|
||||
&mut self,
|
||||
parent: Option<Self::Value>,
|
||||
unwind: Option<Self::BasicBlock>,
|
||||
num_handlers: usize,
|
||||
handlers: &[Self::BasicBlock],
|
||||
) -> Self::Value;
|
||||
fn add_handler(&mut self, catch_switch: Self::Value, handler: Self::BasicBlock);
|
||||
|
||||
fn atomic_cmpxchg(
|
||||
&mut self,
|
||||
|
||||
Reference in New Issue
Block a user