On 23 November 2015 at 19:32, David Nadlinger via Digitalmars-d < [email protected]> wrote:
> On Monday, 23 November 2015 at 17:31:51 UTC, Walter Bright wrote: > >> And why is there a 'default' call to _Unwind_Resume if RDX isn't an >> expected value? Shouldn't the personality routine simply not jump to the >> landing pad if none of the catch types are satisfied? >> > > The reason LDC emits the __d_eh_resume_unwind call all the time is because > it is needed as soon as there is a cleanup involved anyway, and so far I > was just too lazy to optimize the extra branch away in the special case > that there are no cleanups. > > We seem to be doing very similar things here.
