Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
579bc757
Commit
579bc757
authored
May 23, 2008
by
Ian Lynagh
Browse files
Do some stack fiddling in stg_unblockAsyncExceptionszh_ret
This fixes a segfault in #1657
parent
6bc54d15
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/Exception.cmm
View file @
579bc757
...
...
@@ -72,6 +72,14 @@ INFO_TABLE_RET( stg_unblockAsyncExceptionszh_ret, RET_SMALL )
* need to make a small adjustment here.
*/
Sp_adj
(
1
);
#endif
STK_CHK_GEN
(
WDS
(
2
),
R1_PTR
,
stg_unblockAsyncExceptionszh_ret_info
);
Sp_adj
(
-2
);
Sp
(
1
)
=
R1
;
#if
def
REG_R1
Sp
(
0
)
=
stg_gc_unpt_r1_info
;
#else
Sp
(
0
)
=
stg_ut_1_0_unreg_info
;
#endif
SAVE_THREAD_STATE
();
(
r
)
=
foreign
"
C
"
maybePerformBlockedException
(
MyCapability
()
"
ptr
"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment