X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FcodeGen%2FCgCase.lhs;h=bdcc5ff17cb8f677c5ed81ae8dd59a4b4e5ce246;hb=441b3d01ed9d1a98fb79b0a6dbdd1d3aa543cc6a;hp=c7b03ef13a41ed78e37a34066438c972d1ef6132;hpb=423d477bfecd490de1449c59325c8776f91d7aac;p=ghc-hetmet.git diff --git a/ghc/compiler/codeGen/CgCase.lhs b/ghc/compiler/codeGen/CgCase.lhs index c7b03ef..bdcc5ff 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.69 2004/08/13 13:05:51 simonmar Exp $ +% $Id: CgCase.lhs,v 1.70 2004/08/13 13:25:45 simonmar Exp $ % %******************************************************** %* * @@ -152,7 +152,7 @@ cgCase (StgApp v []) live_in_whole_case live_in_alts bndr srt Special case #3: inline PrimOps and foreign calls. \begin{code} -cgCase (StgOpApp op args _) +cgCase (StgOpApp op@(StgPrimOp primop) args _) live_in_whole_case live_in_alts bndr srt alt_type alts | not (primOpOutOfLine primop) = cgInlinePrimOp primop args bndr alt_type live_in_alts alts