Use the CoreContext predicate functions.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 16 Jun 2010 13:15:49 +0000 (15:15 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 16 Jun 2010 13:20:31 +0000 (15:20 +0200)
commit3a0511f8f05824dcd61264b2dd98bee42fe3ddbc
tree7b104577287265fc94c7bb8b336a1224a5d34542
parent82a01c9291c350ee8aeae80d62d6a45f7fb50940
Use the CoreContext predicate functions.

Previously, comparisons were made to the constructors directly, which
will break when arguments are added to the CoreContext constructors.
clash/CLasH/Normalize.hs