From 7bc2930cfaa1f4f5bf883b4df23b09cbb6fe6e27 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 17 Jan 2012 11:20:21 -0800 Subject: roll back commit 1c7a62 --- src/rt/rust_upcall.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/rt/rust_upcall.cpp') 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 -- cgit 1.4.1-3-g733a5