about summary refs log tree commit diff
path: root/src/rt/rust_upcall.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2012-01-17 11:20:21 -0800
committerNiko Matsakis <niko@alum.mit.edu>2012-01-17 20:21:09 -0800
commit7bc2930cfaa1f4f5bf883b4df23b09cbb6fe6e27 (patch)
treeaf4ad0b3269f24f54d5a320bfd8aa20a41ded3e6 /src/rt/rust_upcall.cpp
parent6e27b27cf8a9ece270f2556c3362524854d06de4 (diff)
downloadrust-7bc2930cfaa1f4f5bf883b4df23b09cbb6fe6e27.tar.gz
rust-7bc2930cfaa1f4f5bf883b4df23b09cbb6fe6e27.zip
roll back commit 1c7a62
Diffstat (limited to 'src/rt/rust_upcall.cpp')
-rw-r--r--src/rt/rust_upcall.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp
index 096c814f7c9..65299a7d244 100644
--- a/src/rt/rust_upcall.cpp
+++ b/src/rt/rust_upcall.cpp
@@ -227,15 +227,6 @@ upcall_shared_free(void* ptr) {
     UPCALL_SWITCH_STACK(&args, upcall_s_shared_free);
 }
 
-/************************************************************************
- * Memset that, contrary to the llvm intrinsic, handles dynamic alignment
- */
-
-extern "C" CDECL void
-upcall_memset(void* ptr, char val, unsigned size, unsigned align) {
-    memset(ptr, val, align_to(size, align));
-}
-
 /**********************************************************************
  * Called to deep copy a type descriptor onto the exchange heap.
  * Used when sending closures.  It's possible that we should have