| 870 | } |
| 871 | |
| 872 | fn invoke( |
| 873 | &mut self, |
| 874 | llty: Self::Type, |
| 875 | fn_attrs: Option<&CodegenFnAttrs>, |
| 876 | fn_abi: Option<&FnAbi<'tcx, Ty<'tcx>>>, |
| 877 | llfn: Self::Value, |
| 878 | args: &[Self::Value], |
| 879 | then: Self::BasicBlock, |
| 880 | _catch: Self::BasicBlock, |
| 881 | funclet: Option<&Self::Funclet>, |
| 882 | ) -> Self::Value { |
| 883 | // Exceptions don't exist, jump directly to then block |
| 884 | let result = self.call(llty, fn_attrs, fn_abi, llfn, args, funclet); |
| 885 | self.emit().branch(then).unwrap(); |
| 886 | result |
| 887 | } |
| 888 | |
| 889 | fn unreachable(&mut self) { |
| 890 | self.emit().unreachable().unwrap(); |