Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: ccbbcc8ab8c2a2d1e6268bb92089ddeb43448aae
      
https://github.com/Perl/perl5/commit/ccbbcc8ab8c2a2d1e6268bb92089ddeb43448aae
  Author: Paul "LeoNerd" Evans <leon...@leonerd.org.uk>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M inline.h
    M pp.c
    M pp.h
    M pp_hot.c

  Log Message:
  -----------
  Use a static inline function instead of macro body for SvCANEXISTDELETE

The macro body needed two variables to use as temporaries. This meant
lots of callsites with apparently-unused variables. Worse, an
unsuspecting author might use this macro and accidentally corrupt
existing variables called `mg` or `stash` in subtle hard-to-find bugs.

Since we can now use static inline functions this is much neater moved
into such a function, avoiding the risk of breaking those variables.



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to