Rewrite the unsafe code dealing with unboxed primitives in RtClosureInspect
authorPepe Iborra <mnislaih@gmail.com>
Sat, 19 May 2007 22:05:26 +0000 (22:05 +0000)
committerPepe Iborra <mnislaih@gmail.com>
Sat, 19 May 2007 22:05:26 +0000 (22:05 +0000)
commitecdc15ea7813c43a4d84b7c6554a13c06f210a7e
tree3547da1cf5d2d70152e348140b79441f7977faeb
parent2f181d8ddcd9a88f487a50d64ef682efd55da462
Rewrite the unsafe code dealing with unboxed primitives in RtClosureInspect

Closure uses now a list of Words instead of a ByteArray# to store the non ptrs.
Term.Prim follows this and keeps the [Word] value instead of storing the
Show representation, which wasn't the best idea anyway.

This fixes test print022
compiler/ghci/RtClosureInspect.hs
compiler/types/TyCon.lhs