summaryrefslogtreecommitdiff
path: root/rts/Exception.cmm
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-08-03 12:49:16 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-08-03 12:49:16 +0000
commit7db4d71dba3a70482aadd82dc688cd9fabadef25 (patch)
tree60dee1ab3c776bbdb34443f219114fe97d0e84fc /rts/Exception.cmm
parent38b739b7fce555768cf8f0208a081f62eea479cc (diff)
downloadhaskell-7db4d71dba3a70482aadd82dc688cd9fabadef25.tar.gz
rts_stop_on_exception is a C int, not a W_
amazing this hasn't caused any problems before now
Diffstat (limited to 'rts/Exception.cmm')
-rw-r--r--rts/Exception.cmm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Exception.cmm b/rts/Exception.cmm
index f0eae988fe..cf8ffdf716 100644
--- a/rts/Exception.cmm
+++ b/rts/Exception.cmm
@@ -428,7 +428,7 @@ retry_pop_stack:
// deadlock if an exception is raised in InteractiveUI,
// for exmplae. Perhaps the stop_on_exception flag should
// be per-thread.
- W_[rts_stop_on_exception] = 0;
+ CInt[rts_stop_on_exception] = 0;
("ptr" ioAction) = foreign "C" deRefStablePtr (W_[rts_breakpoint_io_action] "ptr") [];
Sp = Sp - WDS(7);
Sp(6) = exception;