Revert "Fix the previous commit."
authorZoltan Varga <vargaz@gmail.com>
Fri, 5 Oct 2012 16:48:31 +0000 (18:48 +0200)
committerZoltan Varga <vargaz@gmail.com>
Fri, 5 Oct 2012 16:49:03 +0000 (18:49 +0200)
This reverts commit dad73706274401838604806a571a3aad3d51124a.

mono/mini/method-to-ir.c

index 01f360c4f2ea9c35f7d304ebe9b068cd55bab820..091075478d89cf0ecc344a32ec4daa08b4264ead 100644 (file)
@@ -7576,7 +7576,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);