Have configure take arguments telling it where gmp is; fixes trac #957
[ghc-hetmet.git] / rts / Disassembler.c
index 8777b81..4407c77 100644 (file)
@@ -16,7 +16,6 @@
 #include "RtsUtils.h"
 #include "Closures.h"
 #include "TSO.h"
-#include "Storage.h"
 #include "Schedule.h"
 
 #include "Bytecodes.h"
@@ -42,9 +41,6 @@ disInstr ( StgBCO *bco, int pc )
    StgMutArrPtrs* ptrs_arr    = bco->ptrs;
    StgPtr*        ptrs        = (StgPtr*)(&ptrs_arr->payload[0]);
 
-   StgArrWords*   itbls_arr   = bco->itbls;
-   StgInfoTable** itbls       = (StgInfoTable**)(&itbls_arr->payload[0]);
-
    instr = instrs[pc++];
    switch (instr) {
       case bci_SWIZZLE:
@@ -164,7 +160,7 @@ disInstr ( StgBCO *bco, int pc )
          pc += 1; break;
       case bci_PACK:
          debugBelch("PACK      %d words with itbl ", instrs[pc+1] );
-         printPtr( (StgPtr)itbls[instrs[pc]] );
+         printPtr( (StgPtr)literals[instrs[pc]] );
          debugBelch("\n");
          pc += 2; break;