Evaluate global inline functions via their fdefinition
authorPaul Khuong <pvk@pvk.ca>
Tue, 21 May 2013 23:49:19 +0000 (19:49 -0400)
committerPaul Khuong <pvk@pvk.ca>
Wed, 22 May 2013 05:13:22 +0000 (01:13 -0400)
commit46602bb31b943b1793da732781586c032333c907
tree727b99b9721954b2fd60ffc38a3be3b320234a6d
parentc1ec38c7fe7279b68dcce74ec4bf408defefe522
Evaluate global inline functions via their fdefinition

 * When inlinable global functions are evaluated for value, emit
   code to refer to their fdefinition, rather than to a bogus
   entry point.

 * Make sure we only generate code to refer to XEPs and fail early
   otherwise, rather than after backpatching.

 * Fixes lp#1035721.
NEWS
src/compiler/ir2tran.lisp
tests/compiler.impure.lisp