Insert error traps after full calls inferred not to return
authorPaul Khuong <pvk@pvk.ca>
Sat, 8 Jun 2013 16:53:16 +0000 (12:53 -0400)
committerPaul Khuong <pvk@pvk.ca>
Sat, 8 Jun 2013 16:53:16 +0000 (12:53 -0400)
commitded09c061bb9cb4f6829c532c1c6f09637a46477
treed0066d7d74b3d54f14fd44f717c42f36f1a4718e
parent04933997e80776f442770244d92cc2d07bbafe50
Insert error traps after full calls inferred not to return

 An explicit error trap after full calls to known functions helps
 understand type derivation errors at runtime; it's certainly better
 than executing arbitrary bytes.

 Only do this when the return type was tightened to NIL via type
 derivation; if a function is defknowned not to return, it really
 shouldn't.
src/compiler/ir2tran.lisp