aboutsummaryrefslogtreecommitdiff
path: root/src/boot/util/common.ml
diff options
context:
space:
mode:
authorJeffrey Yasskin <[email protected]>2010-07-19 13:59:57 +0800
committerGraydon Hoare <[email protected]>2010-07-20 02:08:00 +0800
commit9d0d350d2cb62a0396c2d186fcfb936edfc150e8 (patch)
tree0effbac6d2a17a98a256702c783f99c275145e29 /src/boot/util/common.ml
parentUn-XFAIL a bunch of LLVM tests that already pass. (diff)
downloadrust-9d0d350d2cb62a0396c2d186fcfb936edfc150e8.tar.xz
rust-9d0d350d2cb62a0396c2d186fcfb936edfc150e8.zip
Make the LLVM compiler crash when it hits a source construct it doesn't know
what to do with, rather than silently omitting it from the output.
Diffstat (limited to 'src/boot/util/common.ml')
-rw-r--r--src/boot/util/common.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/boot/util/common.ml b/src/boot/util/common.ml
index 3271b644..63a4a321 100644
--- a/src/boot/util/common.ml
+++ b/src/boot/util/common.ml
@@ -25,6 +25,10 @@ let bug _ =
in Printf.ksprintf k
;;
+(* TODO: On some joyous day, remove me. *)
+exception Not_implemented of string
+;;
+
exception Semant_err of ((node_id option) * string)
;;