projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-10-24 09:33:37 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
Disassembler.h
diff --git
a/ghc/rts/Disassembler.h
b/ghc/rts/Disassembler.h
index
e792dab
..
2851097
100644
(file)
--- a/
ghc/rts/Disassembler.h
+++ b/
ghc/rts/Disassembler.h
@@
-1,16
+1,19
@@
-
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: Disassembler.h,v 1.6 2000/12/20 14:47:22 sewardj Exp $
*
*
- * (c) The GHC Team, 1998-2000
+ * (c) The GHC Team, 1998-2005
*
* Prototypes for functions in Disassembler.c
*
* ---------------------------------------------------------------------------*/
*
* Prototypes for functions in Disassembler.c
*
* ---------------------------------------------------------------------------*/
-#ifdef GHCI
+#ifndef DISASSEMBLER_H
+#define DISASSEMBLER_H
+
+#ifdef DEBUG
extern int disInstr ( StgBCO *bco, int pc );
extern void disassemble( StgBCO *bco );
#endif
extern int disInstr ( StgBCO *bco, int pc );
extern void disassemble( StgBCO *bco );
#endif
+
+#endif /* DISASSEMBLER_H */