Re: [PATCH] fix for #1689 (argc check with -O0)

2020-04-07 Thread felix . winkelmann
> On Tue, Apr 07, 2020 at 12:48:12PM +0200, felix.winkelm...@bevuta.com wrote: > > Attached is a patch to address #1689 by moving the argc check for a known > > procedure call into the analysis phase (on first analysis) so that even > > with -O0 > > this check is done, as runtime-checks are

Re: [PATCH] force finalizers only if finalizers exist

2020-04-07 Thread felix . winkelmann
> > felix.winkelm...@bevuta.com writes: > > > This patch disables the final GC for finalizer forcing at normal program > > termination > > if no finalizers are live as the GC is unnecessary in such cases. > > How about possible pending finalizers? You mean pending from a previous GC? I'm not

Re: [PATCH] force finalizers only if finalizers exist

2020-04-07 Thread megane
felix.winkelm...@bevuta.com writes: > This patch disables the final GC for finalizer forcing at normal program > termination > if no finalizers are live as the GC is unnecessary in such cases. How about possible pending finalizers? > > felix

Re: [PATCH] fix for #1689 (argc check with -O0)

2020-04-07 Thread Peter Bex
On Tue, Apr 07, 2020 at 12:48:12PM +0200, felix.winkelm...@bevuta.com wrote: > Attached is a patch to address #1689 by moving the argc check for a known > procedure call into the analysis phase (on first analysis) so that even with > -O0 > this check is done, as runtime-checks are disabled for

[PATCH] force finalizers only if finalizers exist

2020-04-07 Thread felix . winkelmann
This patch disables the final GC for finalizer forcing at normal program termination if no finalizers are live as the GC is unnecessary in such cases. felix From fe21a1e2d61196d07f766fac87d8bf54dcc95336 Mon Sep 17 00:00:00 2001 From: felix Date: Tue, 7 Apr 2020 12:40:22 +0200 Subject: [PATCH]

[PATCH] fix for #1689 (argc check with -O0)

2020-04-07 Thread felix . winkelmann
Attached is a patch to address #1689 by moving the argc check for a known procedure call into the analysis phase (on first analysis) so that even with -O0 this check is done, as runtime-checks are disabled for such calls in general. felix ATTACH