[parrot/parrot] ddab78: move handle_types/handle_types_except from PAST::C...

noreply at github.com noreply at github.com
Mon Sep 26 11:20:30 UTC 2011


  Branch: refs/heads/mls/pct_exceptionhandlers
  Home:   https://github.com/parrot/parrot

  Commit: ddab786a9398ef0e97bf92204bf9a906f282787d
      https://github.com/parrot/parrot/commit/ddab786a9398ef0e97bf92204bf9a906f282787d
  Author: Michael Schroeder <mls at suse.de>
  Date:   2011-09-26 (Mon, 26 Sep 2011)

  Changed paths:
    M compilers/pct/src/PAST/Node.pir

  Log Message:
  -----------
  move handle_types/handle_types_except from PAST::Control to PAST::Node

This is done for two reasons:
- allow 'try' pirtype node to generate specialized exception handlers
- allow to have PAST::Stmts nodes as block handlers


  Commit: a44e0562742f31900fbf9692882720b5b6dd8141
      https://github.com/parrot/parrot/commit/a44e0562742f31900fbf9692882720b5b6dd8141
  Author: Michael Schroeder <mls at suse.de>
  Date:   2011-09-26 (Mon, 26 Sep 2011)

  Changed paths:
    M compilers/pct/src/PAST/Compiler.pir

  Log Message:
  -----------
  refactor exception handler setup into a push_exception_handler function, change pirop=try nodes to use it


  Commit: 03a775d3393b8e59a4c98280923b884ac23eda39
      https://github.com/parrot/parrot/commit/03a775d3393b8e59a4c98280923b884ac23eda39
  Author: Michael Schroeder <mls at suse.de>
  Date:   2011-09-26 (Mon, 26 Sep 2011)

  Changed paths:
    M compilers/pct/src/PAST/Compiler.pir

  Log Message:
  -----------
  change pirop=try to work more like pirop=if regarding the return value

The old code return an unspecific value if an exception was caught.


Compare: https://github.com/parrot/parrot/compare/ddab786^...03a775d


More information about the parrot-commits mailing list