summaryrefslogtreecommitdiff
path: root/ghc/rts/Adjustor.c
diff options
context:
space:
mode:
authorwolfgang <unknown>2003-01-04 18:46:57 +0000
committerwolfgang <unknown>2003-01-04 18:46:57 +0000
commit3a46e9f8b0b527fd73814a93fd2ca81983c299b7 (patch)
tree937dc409728ddbfe4143526ec0fc3bc9820e4dff /ghc/rts/Adjustor.c
parent22ac4f6978d203ad8c21f598bf2ad51b3232dfef (diff)
downloadhaskell-3a46e9f8b0b527fd73814a93fd2ca81983c299b7.tar.gz
[project @ 2003-01-04 18:46:57 by wolfgang]
Darwin: Replace "g" constraint by "r" in inline assembly, otherwise it won't compile without -O
Diffstat (limited to 'ghc/rts/Adjustor.c')
-rw-r--r--ghc/rts/Adjustor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/rts/Adjustor.c b/ghc/rts/Adjustor.c
index ed3cb507db..18d36735bf 100644
--- 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");