Skip to content

Commit cb989a8

Browse files
committed
Pick off the last LLVM-crasher from mbx's change.
1 parent 05f34b0 commit cb989a8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/boot/llvm/llasm.ml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ let x86_glue
7373
* This 'add' instruction is a bit surprising.
7474
* See lengthy comment in boot/be/x86.ml activate_glue.
7575
*)
76-
@ ["addl $20, 12(%edx)"]
76+
@ [ Printf.sprintf
77+
"addl $20, %d(%%edx)"
78+
(Abi.task_field_rust_sp * 4) ]
79+
7780
@ restore_callee_saves
7881
@ ["ret"]));
7982

0 commit comments

Comments
 (0)