projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6caf7d
)
[jit] Allow inlining of methods with the AggressiveInlining flag even if they make...
author
Zoltan Varga
<vargaz@gmail.com>
Tue, 9 May 2017 19:36:22 +0000
(15:36 -0400)
committer
GitHub
<noreply@github.com>
Tue, 9 May 2017 19:36:22 +0000
(15:36 -0400)
mono/mini/method-to-ir.c
patch
|
blob
|
history
diff --git
a/mono/mini/method-to-ir.c
b/mono/mini/method-to-ir.c
index d3dae70204bde121eaea2870836f2e084f323960..dfd95706027c4271036ab9c10e1de33a3c64700c 100644
(file)
--- a/
mono/mini/method-to-ir.c
+++ b/
mono/mini/method-to-ir.c
@@
-9371,7
+9371,7
@@
mono_method_to_ir (MonoCompile *cfg, MonoMethod *method, MonoBasicBlock *start_b
}
/* Common call */
- if (!(cmethod->iflags & METHOD_IMPL_ATTRIBUTE_AGGRESSIVE_INLINING))
+ if (!(
method->iflags & METHOD_IMPL_ATTRIBUTE_AGGRESSIVE_INLINING) && !(
cmethod->iflags & METHOD_IMPL_ATTRIBUTE_AGGRESSIVE_INLINING))
INLINE_FAILURE ("call");
ins = mono_emit_method_call_full (cfg, cmethod, fsig, tail_call, sp, virtual_ ? sp [0] : NULL,
imt_arg, vtable_arg);