Compute single-value-type correctly in the absence of required values
authorPaul Khuong <pvk@pvk.ca>
Mon, 27 May 2013 21:38:15 +0000 (17:38 -0400)
committerPaul Khuong <pvk@pvk.ca>
Mon, 27 May 2013 21:45:33 +0000 (17:45 -0400)
commit17dd0a1692d807958a48a10d4cc44fe35cd1d37d
tree0c53e1f18faf50dff278701e235356debe298fe0
parent88429c4045707ceaf99a10801d5c5efdca765afa
Compute single-value-type correctly in the absence of required values

 * For the longest time (at least 2003), we didn't take defaulting
   into account and did not union the single-value type with NULL.
   For some reason, the issue didn't manigest itself until we improved
   code generation for EQ/EQL this month.

   Thanks to Attila Lendvai for the reasonable test case.

 * Also, fix a typo in a VOP name for EQ of fixnum values.
src/code/late-type.lisp
src/compiler/x86-64/pred.lisp
src/compiler/x86/pred.lisp
tests/type.pure.lisp