X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FcodeGen%2FCgCase.lhs;h=c4afa179a9cf7af4f98caebeff5013ac1c1451af;hb=a5f7799965947977599a777dae10f103f9b9fd1a;hp=9eb6b22160c4ab5b7c5cf677e42e2cddbc720d3c;hpb=36c2d7c8e9da3b2e278d508ac25c7d53522f85f3;p=ghc-hetmet.git diff --git a/ghc/compiler/codeGen/CgCase.lhs b/ghc/compiler/codeGen/CgCase.lhs index 9eb6b22..c4afa17 100644 --- a/ghc/compiler/codeGen/CgCase.lhs +++ b/ghc/compiler/codeGen/CgCase.lhs @@ -1,7 +1,7 @@ % % (c) The GRASP/AQUA Project, Glasgow University, 1992-1998 % -% $Id: CgCase.lhs,v 1.32 1999/06/22 07:59:59 simonpj Exp $ +% $Id: CgCase.lhs,v 1.33 1999/06/24 13:04:16 simonmar Exp $ % %******************************************************** %* * @@ -154,7 +154,7 @@ cgCase (StgCon (PrimOp op) args res_ty) TagToEnumOp -> only arg_amodes _ -> CTemp (mkBuiltinUnique 1) IntRep - closure = CTableEntry (CLbl (mkClosureTblLabel tycon) PtrRep) tag_amode PtrRep + closure = CVal (CIndex (CLbl (mkClosureTblLabel tycon) PtrRep) tag_amode PtrRep) PtrRep in case op of {