summaryrefslogtreecommitdiff
path: root/checklink/Exc.ml
diff options
context:
space:
mode:
authorGravatar varobert <varobert@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-04-04 11:59:40 +0000
committerGravatar varobert <varobert@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-04-04 11:59:40 +0000
commit32a6fcb12814550633261960b540ffeb8a0fcab5 (patch)
treed6b180cba9277f76bb70d7a0ee81b05e50811211 /checklink/Exc.ml
parent3498607028a17be29cd2fbc3b1f48f2847915ce3 (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.ml2
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