[gsharedvt] Avoid using gsharedvt trampolines for calls with a non-variable signature.
authorZoltan Varga <vargaz@gmail.com>
Thu, 28 Nov 2013 18:31:04 +0000 (19:31 +0100)
committerZoltan Varga <vargaz@gmail.com>
Thu, 28 Nov 2013 18:31:04 +0000 (19:31 +0100)
mono/mini/method-to-ir.c

index ae37dfe389a104d5336a2f9e58843096d7a1d934..9ae3ef9d025e7d4e065a9f47f151f9ba790936f6 100644 (file)
@@ -8149,7 +8149,7 @@ mono_method_to_ir (MonoCompile *cfg, MonoMethod *method, MonoBasicBlock *start_b
                        /*
                         * Making generic calls out of gsharedvt methods.
                         */
-                       if (cmethod && cfg->gsharedvt && mini_is_gsharedvt_signature (cfg, fsig)) {
+                       if (cmethod && cfg->gsharedvt && mini_is_gsharedvt_variable_signature (fsig)) {
                                MonoRgctxInfoType info_type;
 
                                if (virtual) {