Piotr Caban : msvcrt: Remove unused call_dtor function.
Module: wine Branch: master Commit: 4facdec6863bcb46a7f4f73b59fb6bb9d9689855 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4facdec6863bcb46a7f4f73b59... Author: Piotr Caban <piotr(a)codeweavers.com> Date: Mon Jul 4 11:04:47 2016 +0200 msvcrt: Remove unused call_dtor function. Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/msvcrt/except_i386.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dlls/msvcrt/except_i386.c b/dlls/msvcrt/except_i386.c index f7f486d..c939585 100644 --- a/dlls/msvcrt/except_i386.c +++ b/dlls/msvcrt/except_i386.c @@ -161,12 +161,6 @@ static inline void call_copy_ctor( void *func, void *this, void *src, int has_vb : : "r" (func), "c" (this), "r" (src) : "eax", "edx", "memory" ); } -/* call the destructor of the exception object */ -static inline void call_dtor( void *func, void *object ) -{ - __asm__ __volatile__("call *%0" : : "r" (func), "c" (object) : "eax", "edx", "memory" ); -} - /* continue execution to the specified address after exception is caught */ static inline void DECLSPEC_NORETURN continue_after_catch( cxx_exception_frame* frame, void *addr ) {
participants (1)
-
Alexandre Julliard