From 44b051f34af7512e8b13a1dfaac03967989a0ca4 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 15 Nov 2010 12:45:26 -0800 Subject: Fix typo in x86 backend glue that was, by luck, only crashing on OSX. --- src/comp/back/x86.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp') diff --git a/src/comp/back/x86.rs b/src/comp/back/x86.rs index a2a8d5cc..94243c36 100644 --- a/src/comp/back/x86.rs +++ b/src/comp/back/x86.rs @@ -49,7 +49,7 @@ fn rust_activate_glue() -> vec[str] { // This 'add' instruction is a bit surprising. // See lengthy comment in boot/be/x86.ml activate_glue. - + vec("addl $20, " + wstr(abi.task_field_rust_sp) + "(%edx)") + + vec("addl $20, " + wstr(abi.task_field_rust_sp) + "(%ecx)") + restore_callee_saves() + vec("ret"); -- cgit v1.2.3