[project @ 2000-09-06 10:23:52 by simonmar]
Add new PrimRep, namely PrimPtrRep, as a catch-all for the various boxed primitive types that currently don't have their own PrimReps. Use this for MVar# and MutVar#. This fixes a crash in the code generator when a function returns one of these types.
Showing
- ghc/compiler/absCSyn/PprAbsC.lhs 1 addition, 0 deletionsghc/compiler/absCSyn/PprAbsC.lhs
- ghc/compiler/codeGen/CgRetConv.lhs 2 additions, 1 deletionghc/compiler/codeGen/CgRetConv.lhs
- ghc/compiler/nativeGen/MachMisc.lhs 1 addition, 0 deletionsghc/compiler/nativeGen/MachMisc.lhs
- ghc/compiler/prelude/PrimRep.lhs 7 additions, 0 deletionsghc/compiler/prelude/PrimRep.lhs
- ghc/compiler/prelude/TysPrim.lhs 3 additions, 3 deletionsghc/compiler/prelude/TysPrim.lhs
Loading
Please register or sign in to comment