[project @ 1999-04-26 16:06:27 by simonm]
- New Wired-in Id: getTag# :: a -> Int# for a data type, returns the tag of the constructor. for a function, returns a spurious number probably. dataToTag# is the name of the underlying primitive which pulls out the tag (its argument is assumed to be evaluated). - Generate constructor tables for enumerated types, so we can do tagToEnum#. - Remove hacks in CoreToStg for dataToTag#.
Showing
- ghc/compiler/absCSyn/AbsCSyn.lhs 5 additions, 1 deletionghc/compiler/absCSyn/AbsCSyn.lhs
- ghc/compiler/absCSyn/AbsCUtils.lhs 1 addition, 0 deletionsghc/compiler/absCSyn/AbsCUtils.lhs
- ghc/compiler/absCSyn/PprAbsC.lhs 20 additions, 5 deletionsghc/compiler/absCSyn/PprAbsC.lhs
- ghc/compiler/basicTypes/Unique.lhs 2 additions, 0 deletionsghc/compiler/basicTypes/Unique.lhs
- ghc/compiler/codeGen/CgConTbls.lhs 9 additions, 3 deletionsghc/compiler/codeGen/CgConTbls.lhs
- ghc/compiler/prelude/PrelInfo.lhs 5 additions, 3 deletionsghc/compiler/prelude/PrelInfo.lhs
- ghc/compiler/prelude/PrelVals.lhs 17 additions, 0 deletionsghc/compiler/prelude/PrelVals.lhs
- ghc/compiler/simplCore/ConFold.lhs 14 additions, 2 deletionsghc/compiler/simplCore/ConFold.lhs
- ghc/compiler/simplCore/SimplCore.lhs 3 additions, 2 deletionsghc/compiler/simplCore/SimplCore.lhs
- ghc/compiler/stgSyn/CoreToStg.lhs 0 additions, 10 deletionsghc/compiler/stgSyn/CoreToStg.lhs
- ghc/compiler/typecheck/TcGenDeriv.lhs 2 additions, 2 deletionsghc/compiler/typecheck/TcGenDeriv.lhs
Loading
Please register or sign in to comment