Skip to content

Commit 81597f2

Browse files
committed
Remove unused return values from resume and cleanup_ret
Given that these instructions are diverging, not every codegen backend may be able to produce a return value for them.
1 parent ba41953 commit 81597f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,15 +1275,15 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
12751275
// TODO(antoyo)
12761276
}
12771277

1278-
fn resume(&mut self, _exn: RValue<'gcc>) -> RValue<'gcc> {
1278+
fn resume(&mut self, _exn: RValue<'gcc>) {
12791279
unimplemented!();
12801280
}
12811281

12821282
fn cleanup_pad(&mut self, _parent: Option<RValue<'gcc>>, _args: &[RValue<'gcc>]) -> Funclet {
12831283
unimplemented!();
12841284
}
12851285

1286-
fn cleanup_ret(&mut self, _funclet: &Funclet, _unwind: Option<Block<'gcc>>) -> RValue<'gcc> {
1286+
fn cleanup_ret(&mut self, _funclet: &Funclet, _unwind: Option<Block<'gcc>>) {
12871287
unimplemented!();
12881288
}
12891289

0 commit comments

Comments
 (0)