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:
22ac4f6
)
[project @ 2003-01-04 18:46:57 by wolfgang]
author
wolfgang
<unknown>
Sat, 4 Jan 2003 18:46:57 +0000
(18:46 +0000)
committer
wolfgang
<unknown>
Sat, 4 Jan 2003 18:46:57 +0000
(18:46 +0000)
Darwin: Replace "g" constraint by "r" in inline assembly, otherwise it won't compile without -O
ghc/rts/Adjustor.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Adjustor.c
b/ghc/rts/Adjustor.c
index
ed3cb50
..
18d3673
100644
(file)
--- a/
ghc/rts/Adjustor.c
+++ b/
ghc/rts/Adjustor.c
@@
-366,7
+366,7
@@
TODO: Depending on how much allocation overhead stgMallocBytes uses for
while(n--)
{
__asm__ volatile ("dcbf 0,%0\n\tsync\n\ticbi 0,%0"
- : : "g" (p));
+ : : "r" (p));
p++;
}
__asm__ volatile ("sync\n\tisync");