Fix typo in x86 backend glue that was, by luck, only crashing on OSX.
This commit is contained in:
parent
a352efadad
commit
44b051f34a
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user