From ead21a1bdd15a27ef08c8feb5d5adbbedd688cee Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Mon, 20 May 2019 23:30:52 -0500 Subject: [PATCH] widl: Fix proxy vtbl generation in -Oi mode. Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard --- tools/widl/proxy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c index 8d0e8b2cc50..ef52e35a4ce 100644 --- a/tools/widl/proxy.c +++ b/tools/widl/proxy.c @@ -526,6 +526,7 @@ static int write_proxy_methods(type_t *iface, int skip) if (skip || (is_local(func->attrs) && !get_callas_source(iface, func))) print_proxy( "0, /* %s::%s */\n", iface->name, get_name(func)); else if (is_interpreted_func( iface, func ) && + get_stub_mode() == MODE_Oif && !is_local( func->attrs ) && type_iface_get_inherit(iface)) print_proxy( "(void *)-1, /* %s::%s */\n", iface->name, get_name(func));