[project @ 1999-02-19 18:26:04 by sewardj]
authorsewardj <unknown>
Fri, 19 Feb 1999 18:26:04 +0000 (18:26 +0000)
committersewardj <unknown>
Fri, 19 Feb 1999 18:26:04 +0000 (18:26 +0000)
Added field 'StgWord stgexpr' to struct StgBCO, to help with debugging
the interpreter.  This field (if nonzero) points into the Hugs heap, at
the STG tree from which the BCO was derived.

ghc/includes/Closures.h

index dfd298f..23446c4 100644 (file)
@@ -1,5 +1,5 @@
 /* ----------------------------------------------------------------------------
- * $Id: Closures.h,v 1.8 1999/02/11 14:22:56 simonm Exp $
+ * $Id: Closures.h,v 1.9 1999/02/19 18:26:04 sewardj Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -158,6 +158,7 @@ typedef struct {
     StgWord    n_ptrs;
     StgWord    n_words;
     StgWord    n_instrs;
+    StgWord    stgexpr;
     StgPtr     payload[0];
 } StgBCO;