[parrot/parrot] d429d1: imcc: error with exceptions in the constant folder
GitHub
noreply at github.com
Mon Jun 5 08:44:24 UTC 2017
Branch: refs/heads/smoke/const-exc-gh1236
Home: https://github.com/parrot/parrot
Commit: d429d169650bb68bb2cbf2905918d2c363cfde58
https://github.com/parrot/parrot/commit/d429d169650bb68bb2cbf2905918d2c363cfde58
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