1
Fork 0

Rename try intrinsic argument to match upstream

This commit is contained in:
bjorn3 2020-03-17 14:53:32 +01:00
parent ebf13f1cce
commit d07c404bf4

View file

@ -991,7 +991,7 @@ pub fn codegen_intrinsic_call<'tcx>(
ret.write_cvalue(fx, val); ret.write_cvalue(fx, val);
}; };
try, (v f, v data, v _local_ptr) { try, (v f, v data, v _catch_fn) {
// FIXME once unwinding is supported, change this to actually catch panics // FIXME once unwinding is supported, change this to actually catch panics
let f_sig = fx.bcx.func.import_signature(Signature { let f_sig = fx.bcx.func.import_signature(Signature {
call_conv: CallConv::triple_default(fx.triple()), call_conv: CallConv::triple_default(fx.triple()),