From 7e899a93fac5974480728b1d25d24207c9ffabcd Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Sat, 14 May 2016 17:44:51 -0400 Subject: [PATCH] [llvmonly] Avoid generating gsharedvt out wrappers for non-generic signatures. --- mono/mini/method-to-ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mono/mini/method-to-ir.c b/mono/mini/method-to-ir.c index da7de9ce5a9..e882bfe5f41 100644 --- a/mono/mini/method-to-ir.c +++ b/mono/mini/method-to-ir.c @@ -9308,7 +9308,7 @@ mono_method_to_ir (MonoCompile *cfg, MonoMethod *method, MonoBasicBlock *start_b CHECK_CFG_ERROR; } - if (cfg->llvm_only && !cfg->method->wrapper_type) + if (cfg->llvm_only && !cfg->method->wrapper_type && (!cmethod || cmethod->is_inflated)) cfg->signatures = g_slist_prepend_mempool (cfg->mempool, cfg->signatures, fsig); /* See code below */ -- 2.25.1