From cb989a816d22e9a1016d1c33c85ff44aca933d28 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 20 Jul 2010 15:29:13 -0700 Subject: Pick off the last LLVM-crasher from mbx's change. --- src/boot/llvm/llasm.ml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/boot/llvm/llasm.ml b/src/boot/llvm/llasm.ml index 5b66989d..071e0bd6 100644 --- a/src/boot/llvm/llasm.ml +++ b/src/boot/llvm/llasm.ml @@ -73,7 +73,10 @@ let x86_glue * This 'add' instruction is a bit surprising. * See lengthy comment in boot/be/x86.ml activate_glue. *) - @ ["addl $20, 12(%edx)"] + @ [ Printf.sprintf + "addl $20, %d(%%edx)" + (Abi.task_field_rust_sp * 4) ] + @ restore_callee_saves @ ["ret"])); -- cgit v1.2.3