Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imcc: error on exceptions in constant folding
When an op with only constants args 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
- Loading branch information
Showing
3 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters