develooper Front page | perl.perl5.changes | Postings from August 2022

[Perl/perl5] b65225: toke.c - dont just return the function, assignit ...

From:
Yves Orton via perl5-changes
Date:
August 29, 2022 19:00
Subject:
[Perl/perl5] b65225: toke.c - dont just return the function, assignit ...
Message ID:
Perl/perl5/push/refs/heads/yves/toke_c_gdb_help/000000-b65225@github.com
  Branch: refs/heads/yves/toke_c_gdb_help
  Home:   https://github.com/Perl/perl5
  Commit: b652254d50e91decaae235e696882ed7a95baa7b
      https://github.com/Perl/perl5/commit/b652254d50e91decaae235e696882ed7a95baa7b
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-08-29 (Mon, 29 Aug 2022)

  Changed paths:
    M toke.c

  Log Message:
  -----------
  toke.c - dont just return the function, assign it to an intermediary

So we can debug it before we return. an optimization compiler should
make them the same thing anyway, but under -Og it is helpful to be able
to be able to see the return before we return it.





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About