diff options
author | Andy Ayers <andya@microsoft.com> | 2016-11-09 15:03:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-09 15:03:23 -0800 |
commit | e76da565c106016d604b95f3bb7eadd24ceaf18a (patch) | |
tree | 0c4e1cb7bb22e98d8e286055e6c5a2eedea5a959 /src/jit/inline.def | |
parent | a67530b73c422e0158221dde74f2cb38d2aa8d33 (diff) | |
download | coreclr-e76da565c106016d604b95f3bb7eadd24ceaf18a.tar.gz coreclr-e76da565c106016d604b95f3bb7eadd24ceaf18a.tar.bz2 coreclr-e76da565c106016d604b95f3bb7eadd24ceaf18a.zip |
Inliner: enable inlining of methods with conditional throws (#8038)
* Inliner: enable inlining of methods with conditional throws
Remove inlining limitation for methods that return values and have
conditional throws. This limitation was most likely a vestige of an
older inlining implementation that did not break trees at inline
call sites.
Also removed the now-unused observation and the `seenConditionalJump`
member variable. Merged ifdef blocks in `impInit`.
Ran full desktop testing, no issues.
Enables a handful of inlines in the various code size suites. For the
most part these slightly increase code size but can often shorten the
non-EH paths in the code.
Diffstat (limited to 'src/jit/inline.def')
-rw-r--r-- | src/jit/inline.def | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/jit/inline.def b/src/jit/inline.def index 991d87458e..d0e013700e 100644 --- a/src/jit/inline.def +++ b/src/jit/inline.def @@ -122,7 +122,6 @@ INLINE_OBSERVATION(CANT_EMBED_VARARGS_COOKIE, bool, "can't embed varargs cooki INLINE_OBSERVATION(CLASS_INIT_FAILURE_SPEC, bool, "speculative class init failed", FATAL, CALLSITE) INLINE_OBSERVATION(COMPILATION_ERROR, bool, "compilation error", FATAL, CALLSITE) INLINE_OBSERVATION(COMPILATION_FAILURE, bool, "failed to compile", FATAL, CALLSITE) -INLINE_OBSERVATION(CONDITIONAL_THROW, bool, "conditional throw", FATAL, CALLSITE) INLINE_OBSERVATION(CROSS_BOUNDARY_CALLI, bool, "cross-boundary calli", FATAL, CALLSITE) INLINE_OBSERVATION(CROSS_BOUNDARY_SECURITY, bool, "cross-boundary security check", FATAL, CALLSITE) INLINE_OBSERVATION(EXCEEDS_THRESHOLD, bool, "exceeds profit threshold", FATAL, CALLSITE) |