projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
340fb6f
)
don't check for stack underflow if we just had an overflow
author
Simon Marlow
<marlowsd@gmail.com>
Wed, 10 Jun 2009 10:47:48 +0000
(10:47 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Wed, 10 Jun 2009 10:47:48 +0000
(10:47 +0000)
rts/Schedule.c
patch
|
blob
|
history
diff --git
a/rts/Schedule.c
b/rts/Schedule.c
index
51a8d2a
..
c840c78
100644
(file)
--- a/
rts/Schedule.c
+++ b/
rts/Schedule.c
@@
-584,7
+584,9
@@
run_thread:
schedulePostRunThread(cap,t);
- t = threadStackUnderflow(task,t);
+ if (ret != StackOverflow) {
+ t = threadStackUnderflow(task,t);
+ }
ready_to_gc = rtsFalse;