Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : supercompiler

http://hackage.haskell.org/trac/ghc/changeset/859677f29717a3fbd610ecc5dc4c440063837a40

>---------------------------------------------------------------

commit 859677f29717a3fbd610ecc5dc4c440063837a40
Author: Max Bolingbroke <batterseapo...@hotmail.com>
Date:   Thu Mar 22 14:28:10 2012 +0000

    Comment only

>---------------------------------------------------------------

 compiler/supercompile/Supercompile/Core/Syntax.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compiler/supercompile/Supercompile/Core/Syntax.hs 
b/compiler/supercompile/Supercompile/Core/Syntax.hs
index a882eb3..2e2e6e3 100644
--- a/compiler/supercompile/Supercompile/Core/Syntax.hs
+++ b/compiler/supercompile/Supercompile/Core/Syntax.hs
@@ -128,7 +128,7 @@ data TermF ann = Var Id
                | TyApp (ann (TermF ann)) Type
                | CoApp (ann (TermF ann)) Coercion
                | App (ann (TermF ann)) Id
-               | PrimOp PrimOp [Type] [ann (TermF ann)]
+               | PrimOp PrimOp [Type] [ann (TermF ann)]     -- FIXME: arguably 
we have just Vars as arguments for better Tag behaviour (otherwise improving 
the arguments is hidden by the Tag on the whole PrimOp stack frames)
                | Case (ann (TermF ann)) Id Type [AltF ann]  -- NB: unlike GHC, 
for convenience we allow the list of alternatives to be empty
                | Let Id (ann (TermF ann)) (ann (TermF ann)) -- NB: might bind 
an unlifted thing, in which case evaluation changes. Unlike GHC, we do NOT 
assume the RHSes of unlifted bindings are ok-for-speculation.
                | LetRec [(Id, ann (TermF ann))] (ann (TermF ann))



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to