diff options
author | dias@cs.tufts.edu <unknown> | 2009-12-17 21:04:43 +0000 |
---|---|---|
committer | dias@cs.tufts.edu <unknown> | 2009-12-17 21:04:43 +0000 |
commit | bfb346895846c5b79ecfb1e7503815146b8a4071 (patch) | |
tree | 6f9507bc0d537cb43fb388ba9accf88ecca33e09 /compiler/codeGen/Bitmap.hs | |
parent | 0417404f5d1230c9d291ea9f73e2831121c8ec99 (diff) | |
download | haskell-bfb346895846c5b79ecfb1e7503815146b8a4071.tar.gz |
missed a case in a previous fix
Here's the obscure problem:
-- However, we also want to allow an assignment to be generated
-- in the case when the types are compatible, because this allows
-- some slightly-dodgy but occasionally-useful casts to be used,
-- such as in RtClosureInspect where we cast an HValue to a MutVar#
-- so we can print out the contents of the MutVar#. If we generate
-- code that enters the HValue, then we'll get a runtime panic, because
-- the HValue really is a MutVar#. The types are compatible though,
-- so we can just generate an assignment.
Diffstat (limited to 'compiler/codeGen/Bitmap.hs')
0 files changed, 0 insertions, 0 deletions