Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
d2e1c2ce
Commit
d2e1c2ce
authored
Mar 24, 2006
by
Simon Marlow
Browse files
mark recordMutableCap() with [R1] to avoid saving all regs across it
parent
39f96fb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/Updates.h
View file @
d2e1c2ce
...
...
@@ -278,7 +278,7 @@ FILL_SLOP(StgClosure *p)
if (bdescr_gen_no(bd) != 0 :: CInt) { \
foreign "C" recordMutableCap(p1 "ptr", \
MyCapability() "ptr", \
bdescr_gen_no(bd));
\
bdescr_gen_no(bd))
[R1]
; \
SET_INFO(p1, stg_IND_OLDGEN_info); \
LDV_RECORD_CREATE(p1); \
TICK_UPD_OLD_IND(); \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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