projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2003-03-20 15:43:31 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
LdvProfile.c
diff --git
a/ghc/rts/LdvProfile.c
b/ghc/rts/LdvProfile.c
index
efced28
..
31777e5
100644
(file)
--- a/
ghc/rts/LdvProfile.c
+++ b/
ghc/rts/LdvProfile.c
@@
-1,5
+1,5
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: LdvProfile.c,v 1.3 2002/12/11 15:36:42 simonmar Exp $
+ * $Id: LdvProfile.c,v 1.5 2003/02/22 04:51:51 sof Exp $
*
* (c) The GHC Team, 2001
* Author: Sungwoo Park
*
* (c) The GHC Team, 2001
* Author: Sungwoo Park
@@
-14,8
+14,6
@@
#include "Rts.h"
#include "LdvProfile.h"
#include "RtsFlags.h"
#include "Rts.h"
#include "LdvProfile.h"
#include "RtsFlags.h"
-#include "Itimer.h"
-#include "Proftimer.h"
#include "Profiling.h"
#include "Stats.h"
#include "Storage.h"
#include "Profiling.h"
#include "Stats.h"
#include "Storage.h"
@@
-43,6
+41,10
@@
LDV_recordDead_FILL_SLOP_DYNAMIC( StgClosure *p )
StgInfoTable *info;
nat nw, i;
StgInfoTable *info;
nat nw, i;
+#if defined(__GNUC__) && __GNUC__ < 3 && defined(DEBUG)
+#error Please use gcc 3.0+ to compile this file with DEBUG; gcc < 3.0 miscompiles it
+#endif
+
if (era > 0) {
info = get_itbl((p));
switch (info->type) {
if (era > 0) {
info = get_itbl((p));
switch (info->type) {