diff options
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 |
