Fix the previous commit.
authorZoltan Varga <vargaz@gmail.com>
Fri, 5 Oct 2012 10:49:43 +0000 (12:49 +0200)
committerZoltan Varga <vargaz@gmail.com>
Fri, 5 Oct 2012 10:49:43 +0000 (12:49 +0200)
mono/mini/method-to-ir.c

index b8e7fb4fd7dce0c79b17b19a96b19bd4dfa5f7a8..b7cc28e301aa8a30896884524d39ba4bb4ba722f 100644 (file)
@@ -7575,7 +7575,7 @@ mono_method_to_ir (MonoCompile *cfg, MonoMethod *method, MonoBasicBlock *start_b
                        /* Common call */
 
                        /* Allow inlining of methods which consists of a call only */
-                       //if (!(ip + 5 < end && ip [5] == CEE_RET) || num_calls > 1 || !strcmp (cmethod->klass->name, "StackTrace"))
+                       if (!(ip + 5 < end && ip [5] == CEE_RET) || num_calls > 1 || !strcmp (cmethod->klass->name, "StackTrace"))
                                INLINE_FAILURE ("call");
                        ins = mono_emit_method_call_full (cfg, cmethod, fsig, sp, virtual ? sp [0] : NULL,
                                                                                          imt_arg, vtable_arg);