[cvs-nhc98] cvs commit: nhc98/src/compiler98 FixSyntax.hs

Malcolm Wallace malcolm at haskell.org
Mon Sep 6 05:51:58 EDT 2004


malcolm     2004/09/06 02:51:57 PDT

  Modified files:
    src/compiler98       FixSyntax.hs 
  Log:
  Hack to fix large literal Int patterns.  Previously, a pattern known to
  be a literal of type Int was bytecoded as a 16-bit quantity.  Bad idea.
  Now, we use a 16-bit value only if the value fits, otherwise we retain
  the application of fromInteger to the full representation.  So finally,
  the testcase nofib/real/anna gives the right result!
  
  Revision  Changes    Path
  1.23      +2 -1      nhc98/src/compiler98/FixSyntax.hs


More information about the Cvs-nhc98 mailing list