[commit: ghc] master: add a missing entryCode (a910970)

Ian Lynagh ian at well-typed.com
Thu Sep 20 18:07:46 CEST 2012


On Thu, Sep 20, 2012 at 08:35:36AM -0700, Simon Marlow wrote:
> 
> diff --git a/compiler/cmm/CmmLayoutStack.hs b/compiler/cmm/CmmLayoutStack.hs
> index 5505b92..b4ca273 100644
> --- a/compiler/cmm/CmmLayoutStack.hs
> +++ b/compiler/cmm/CmmLayoutStack.hs
> @@ -5,6 +5,7 @@ module CmmLayoutStack (
>  
>  import StgCmmUtils      ( callerSaveVolatileRegs ) -- XXX
>  import StgCmmForeign    ( saveThreadState, loadThreadState ) -- XXX
> +import StgCmmLayout     ( entryCode ) -- XXX

What do these XXXs mean? I guess that an abstraction is being broken by
using them? Would it make sense to add a comment saying why, and what
the solution might be?


Thanks
Ian




More information about the Cvs-ghc mailing list