[parrot/parrot] 64a393: imcc: error with exceptions in the constant folder

GitHub noreply at github.com
Mon Jun 5 08:32:34 UTC 2017


  Branch: refs/heads/smoke/const-exc-gh1236
  Home:   https://github.com/parrot/parrot
  Commit: 64a393f5c291471256ca908e454d32916a12f824
      https://github.com/parrot/parrot/commit/64a393f5c291471256ca908e454d32916a12f824
  Author: Reini Urban <rurban at cpan.org>
  Date:   2017-06-05 (Mon, 05 Jun 2017)

  Changed paths:
    M compilers/imcc/optimizer.c
    M src/string/namealias.c
    M t/compilers/imcc/syn/const.t

  Log Message:
  -----------
  imcc: error with exceptions in the constant folder

When an op throws an exception like div by zero, eval just
returns the address of the handler, not the handler.
So we only know that something is wrong, not what.
The exception message should be improved later.
For now just error with eval_ins: unhandled exception for op '%s'

Fixes #1236




More information about the parrot-commits mailing list