projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5270423
)
sanity check the top stack frame, not the whole stack
author
Simon Marlow
<marlowsd@gmail.com>
Wed, 2 Dec 2009 13:40:20 +0000
(13:40 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Wed, 2 Dec 2009 13:40:20 +0000
(13:40 +0000)
rts/Interpreter.c
patch
|
blob
|
history
diff --git
a/rts/Interpreter.c
b/rts/Interpreter.c
index
5197510
..
b95d5a9
100644
(file)
--- a/
rts/Interpreter.c
+++ b/
rts/Interpreter.c
@@
-269,7
+269,8
@@
eval_obj:
debugBelch("\n\n");
);
- IF_DEBUG(sanity,checkStackChunk(Sp, cap->r.rCurrentTSO->stack+cap->r.rCurrentTSO->stack_size));
+// IF_DEBUG(sanity,checkStackChunk(Sp, cap->r.rCurrentTSO->stack+cap->r.rCurrentTSO->stack_size));
+ IF_DEBUG(sanity,checkStackFrame(Sp));
switch ( get_itbl(obj)->type ) {