/* --------------------------------------------------------------------------
* Optimiser
*
- * Copyright (c) The University of Nottingham and Yale University, 1994-1997.
- * All rights reserved. See NOTICE for details and conditions of use etc...
- * Hugs version 1.4, December 1997
+ * The Hugs 98 system is Copyright (c) Mark P Jones, Alastair Reid, the
+ * Yale Haskell Group, and the Oregon Graduate Institute of Science and
+ * Technology, 1994-1999, All rights reserved. It is distributed as
+ * free software under the license in the file "License", which is
+ * included in the distribution.
*
* $RCSfile: optimise.c,v $
- * $Revision: 1.5 $
- * $Date: 1999/04/27 10:06:57 $
+ * $Revision: 1.7 $
+ * $Date: 1999/10/15 21:40:52 $
* ------------------------------------------------------------------------*/
#include "prelude.h"
/* #define DEBUG_OPTIMISE */
+extern void print ( Cell, Int );
+
/* --------------------------------------------------------------------------
* Local functions
* ------------------------------------------------------------------------*/
case LAMBDA:
stgLambdaBody(e) = simplify(caseEnv,stgLambdaBody(e));
- lambda_local:
+ /* lambda_local: */
while (whatIsStg(stgLambdaBody(e))==LAMBDA) {
nLambdasMerged++;
stgLambdaArgs(e) = appendOnto(stgLambdaArgs(e),
static void local optimiseTopBind( StgVar v )
{
- Bool ppPrel = FALSE;
+ /* Bool ppPrel = FALSE; */
Int n, m;
Name naam;
Int oldSize, newSize;