MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / catch_switch

Method catch_switch

crates/rustc_codegen_nvvm/src/builder.rs:1017–1024  ·  view source on GitHub ↗
(
        &mut self,
        _parent: Option<&'ll Value>,
        _unwind: Option<&'ll BasicBlock>,
        _num_handlers: usize,
    )

Source from the content-addressed store, hash-verified

1015 fn catch_pad(&mut self, _parent: &'ll Value, _args: &[&'ll Value]) {}
1016
1017 fn catch_switch(
1018 &mut self,
1019 _parent: Option<&'ll Value>,
1020 _unwind: Option<&'ll BasicBlock>,
1021 _num_handlers: usize,
1022 ) -> &'ll Value {
1023 self.unsupported("catch switches");
1024 }
1025
1026 fn add_handler(&mut self, _catch_switch: &'ll Value, _handler: &'ll BasicBlock) {
1027 todo!();

Callers

nothing calls this directly

Calls 1

unsupportedMethod · 0.80

Tested by

no test coverage detected