Allow the argument to 'reserve' to be a compile-time expression
authorSimon Marlow <marlowsd@gmail.com>
Thu, 16 Jan 2014 15:14:49 +0000 (15:14 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 16 Jan 2014 15:14:49 +0000 (15:14 +0000)
commit58e5843a4118ca19fd1c93f52f2365d90bb1b9b6
tree252ec4f6c29852ea9ef9d37fa8da91b4e96eb7cb
parenteaa37a0f69df28f051e7511d62dc104eb50a2a6b
Allow the argument to 'reserve' to be a compile-time expression

By using the constant-folder to reduce it to an integer.
compiler/cmm/CmmOpt.hs
compiler/cmm/CmmParse.y
compiler/cmm/CmmSink.hs