diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-01-17 11:20:21 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-01-17 20:21:09 -0800 |
| commit | 7bc2930cfaa1f4f5bf883b4df23b09cbb6fe6e27 (patch) | |
| tree | af4ad0b3269f24f54d5a320bfd8aa20a41ded3e6 /src/rt/rust_upcall.cpp | |
| parent | 6e27b27cf8a9ece270f2556c3362524854d06de4 (diff) | |
| download | rust-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.cpp | 9 |
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 |
