Track recent re-homing of Prelude.h for INTERPRETER.
* Copyright (c) 1994-1998.
*
* $RCSfile: Evaluator.c,v $
- * $Revision: 1.38 $
- * $Date: 2000/03/13 10:39:11 $
+ * $Revision: 1.39 $
+ * $Date: 2000/03/13 13:00:00 $
* ---------------------------------------------------------------------------*/
#include "Rts.h"
#include "Assembler.h" /* for CFun stuff */
#include "ForeignCall.h"
#include "PrimOps.h" /* for __{encode,decode}{Float,Double} */
+#include "Prelude.h"
#include "Evaluator.h"
#include "sainteger.h"
/* -----------------------------------------------------------------------------
- * $Id: Prelude.h,v 1.1 2000/03/13 10:53:56 simonmar Exp $
+ * $Id: Prelude.h,v 1.2 2000/03/13 13:00:00 sewardj Exp $
*
* (c) The GHC Team, 1998-1999
*
#define W64zh_con_info I64zh_con_info
#define W64zh_static_info I64zh_con_info
+#define PutFullMVar_closure PrelException_PutFullMVar_static_closure
+extern const StgInfoTable PutFullMVar_closure;
+
#endif
#endif /* COMPILING_RTS */
/* -----------------------------------------------------------------------------
- * $Id: PrimOps.hc,v 1.44 2000/03/13 10:53:56 simonmar Exp $
+ * $Id: PrimOps.hc,v 1.45 2000/03/13 13:00:00 sewardj Exp $
*
* (c) The GHC Team, 1998-1999
*
#endif
if (info == &FULL_MVAR_info) {
+#ifdef INTERPRETER
+ fprintf(stderr, "fatal: put on a full MVar in Hugs; aborting\n" );
+ exit(1);
+#else
R1.cl = (StgClosure *)&PutFullMVar_closure;
JMP_(raisezh_fast);
+#endif
}
mvar->value = R2.cl;