Use homebrew memcpy, not llvm intrinsic. Can't run the latter on a rust stack.
This commit is contained in:
parent
156e1b363f
commit
bc21965c98
2 changed files with 66 additions and 32 deletions
|
|
@ -59,6 +59,10 @@ const int worst_case_glue_call_args = 7;
|
|||
|
||||
const int n_upcall_glues = 7;
|
||||
|
||||
fn memcpy_glue_name() -> str {
|
||||
ret "rust_memcpy_glue";
|
||||
}
|
||||
|
||||
fn upcall_glue_name(int n) -> str {
|
||||
ret "rust_upcall_" + util.common.istr(n);
|
||||
}
|
||||
|
|
@ -75,6 +79,10 @@ fn exit_task_glue_name() -> str {
|
|||
ret "rust_exit_task_glue";
|
||||
}
|
||||
|
||||
fn no_op_type_glue_name() -> str {
|
||||
ret "rust_no_op_type_glue";
|
||||
}
|
||||
|
||||
//
|
||||
// Local Variables:
|
||||
// mode: rust
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue