Fix Trac #2486: restore the specialiser to a working state
authorsimonpj@microsoft.com <unknown>
Sat, 9 Aug 2008 16:31:23 +0000 (16:31 +0000)
committersimonpj@microsoft.com <unknown>
Sat, 9 Aug 2008 16:31:23 +0000 (16:31 +0000)
commita0a541a8d342d6189d5e76ba65a8e914251d1d84
tree5e4b3047a0ea987bf2eda01459f0d5db290b8c61
parent23845e41c280c04d854138672fa0577581f66610
Fix Trac #2486: restore the specialiser to a working state

In improving the specialiser's data reprsentaion, thus
  Mon Apr 28 16:57:11 GMT Daylight Time 2008  simonpj@microsoft.com
  * Fix Trac #1969: perfomance bug in the specialiser
I got the sense of a pair of filter functions back to front.
As a result, almost all specialisation opportunities were being
filtered out, and no specialisations were being generated.

Fortunately, dolio notice and reported Trac #2486.  The fix is
simple: put the filters the right way roud.
compiler/specialise/Specialise.lhs