jckarter/clay — pull request #454 by Blei (2012-12-02 19:49:59+00:00)
Title: Compiler: fix compilation with -g

The LLVM `expect` intrinsic only works with integer types, but we used
it with pointer types when checking for exceptions. Add some bitcasts
(which should be optimized to nothing) to stop LLVM from throwing
assertion failures.