Commit 3a46e9f8 authored by wolfgang's avatar wolfgang
Browse files

[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
parent 22ac4f69
......@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment