Re: [fpc-devel] Object checks

2017-05-06 Thread Pierre Muller
Le 06/05/2017 à 09:56, C Western a écrit : > On 05/05/17 12:54, Pierre Muller wrote: >> >>I applied a patch in commit 36113 to trunk that >> substitutes RunError with HandleError. >> It has been applied to three functions: >> fpc_help_destructor, fpc_check_object and fpc_check_object_ext >>

Re: [fpc-devel] Object checks

2017-05-06 Thread C Western
On 05/05/17 12:54, Pierre Muller wrote: I applied a patch in commit 36113 to trunk that substitutes RunError with HandleError. It has been applied to three functions: fpc_help_destructor, fpc_check_object and fpc_check_object_ext Thank you for doing this. In the meantime I put a slightly

Re: [fpc-devel] Object checks

2017-05-05 Thread Pierre Muller
Hi Colin, Le 30/04/2017 à 10:53, C Western a écrit : > If I may, a couple of queries about code generated for object checking > when range checks are on (-Cr): > > An explicit check for nil is generated, which seems redundant, as any > attempt to use the value will generate a SIGSEGV anyway on