Piotr Caban : msvcrt: Remove unused call_dtor function.

Alexandre Julliard julliard at winehq.org
Tue Jul 5 11:07:49 CDT 2016


Module: wine
Branch: master
Commit: 4facdec6863bcb46a7f4f73b59fb6bb9d9689855
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4facdec6863bcb46a7f4f73b59fb6bb9d9689855

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Mon Jul  4 11:04:47 2016 +0200

msvcrt: Remove unused call_dtor function.

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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 )
 {




More information about the wine-cvs mailing list