diff options
author | varobert <varobert@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-04-04 11:59:40 +0000 |
---|---|---|
committer | varobert <varobert@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-04-04 11:59:40 +0000 |
commit | 32a6fcb12814550633261960b540ffeb8a0fcab5 (patch) | |
tree | d6b180cba9277f76bb70d7a0ee81b05e50811211 /checklink/Exc.ml | |
parent | 3498607028a17be29cd2fbc3b1f48f2847915ce3 (diff) |
Added safety to potentially overflowing arithmetics
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1872 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'checklink/Exc.ml')
-rw-r--r-- | checklink/Exc.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/checklink/Exc.ml b/checklink/Exc.ml new file mode 100644 index 0000000..101087d --- /dev/null +++ b/checklink/Exc.ml @@ -0,0 +1,2 @@ +exception IntOverflow +exception Int32Overflow |