about summary refs log tree commit diff
path: root/src/comp/back
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-01-17 17:24:33 -0800
committerGraydon Hoare <graydon@mozilla.com>2011-01-17 17:24:33 -0800
commitbc21965c98d487f3added370b3ded73de2ceeda6 (patch)
treebcd5b33f989f541cfd0e44ecdf71eae86f234b59 /src/comp/back
parent156e1b363fb7058c7bd734c5664b8f467b1afcd5 (diff)
downloadrust-bc21965c98d487f3added370b3ded73de2ceeda6.tar.gz
rust-bc21965c98d487f3added370b3ded73de2ceeda6.zip
Use homebrew memcpy, not llvm intrinsic. Can't run the latter on a rust stack.
Diffstat (limited to 'src/comp/back')
-rw-r--r--src/comp/back/abi.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/comp/back/abi.rs b/src/comp/back/abi.rs
index 8cef343984c..0c940d2b5cb 100644
--- a/src/comp/back/abi.rs
+++ b/src/comp/back/abi.rs
@@ -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