summaryrefslogtreecommitdiff
path: root/rts/StgCRun.c
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-06-27 15:46:13 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-06-27 15:46:13 +0100
commit7a4063e9797735da6c490b559c1e89b7d52e4614 (patch)
treeb31e54e5c0f7ac51abdb9c8b1d4e2b33b6ef3aeb /rts/StgCRun.c
parente1c9a4f7762009f6cf5db645ee52966eaa979f44 (diff)
downloadhaskell-7a4063e9797735da6c490b559c1e89b7d52e4614.tar.gz
oops, fix the x86 version of the code in here. I validated on the
wrong platform by mistake.
Diffstat (limited to 'rts/StgCRun.c')
-rw-r--r--rts/StgCRun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/StgCRun.c b/rts/StgCRun.c
index a5a4e9343d..54ac04151c 100644
--- a/rts/StgCRun.c
+++ b/rts/StgCRun.c
@@ -177,7 +177,7 @@ StgRunIsImplementedInAssembler(void)
* restore callee-saves registers. (Don't stomp on %%eax!)
*/
"movl %%esp, %%edx\n\t"
- "addl %0, %%edx\n\t"
+ "addl %0-16, %%edx\n\t"
"movl 0(%%edx),%%ebx\n\t" /* restore the registers saved above */
"movl 4(%%edx),%%esi\n\t"
"movl 8(%%edx),%%edi\n\t"