diff options
| author | Graydon Hoare <[email protected]> | 2010-07-20 15:29:13 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-20 15:29:13 -0700 |
| commit | cb989a816d22e9a1016d1c33c85ff44aca933d28 (patch) | |
| tree | b0e75177aa385f1f00c757f865e1e82a0f11cb96 /src | |
| parent | Adjust llasm, llabi to be aware of changes to rust_task structure. Still not ... (diff) | |
| download | rust-cb989a816d22e9a1016d1c33c85ff44aca933d28.tar.xz rust-cb989a816d22e9a1016d1c33c85ff44aca933d28.zip | |
Pick off the last LLVM-crasher from mbx's change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/boot/llvm/llasm.ml | 5 |
1 files changed, 4 insertions, 1 deletions
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"])); |