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:
39f96fb
)
mark recordMutableCap() with [R1] to avoid saving all regs across it
author
Simon Marlow
<simonmar@microsoft.com>
Fri, 24 Mar 2006 11:39:00 +0000
(11:39 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Fri, 24 Mar 2006 11:39:00 +0000
(11:39 +0000)
ghc/rts/Updates.h
patch
|
blob
|
history
diff --git
a/ghc/rts/Updates.h
b/ghc/rts/Updates.h
index
62473b3
..
5872157
100644
(file)
--- a/
ghc/rts/Updates.h
+++ b/
ghc/rts/Updates.h
@@
-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(); \