diff options
author | Andy Ayers <andya@microsoft.com> | 2016-02-20 11:21:08 -0800 |
---|---|---|
committer | Andy Ayers <andya@microsoft.com> | 2016-02-21 11:44:14 -0800 |
commit | 336832d2119d3877f633891b367315ee935afdd7 (patch) | |
tree | b0d6d020990ef8b4cabbe5262fd9c3d8dbbf3a42 /src/jit/inline.def | |
parent | c2a8bfad36f433fed397efc1419f948709ccfc5e (diff) | |
download | coreclr-336832d2119d3877f633891b367315ee935afdd7.tar.gz coreclr-336832d2119d3877f633891b367315ee935afdd7.tar.bz2 coreclr-336832d2119d3877f633891b367315ee935afdd7.zip |
Inline refactoring: split up depth and recursion checks
Separate out the recursive inline and inline too deep obervations.
Have the checker update the inline result directly rather than
deferring to the caller.
Add a bit more commentary on how the various inline classes
are used during compilation.
Diffstat (limited to 'src/jit/inline.def')
-rw-r--r-- | src/jit/inline.def | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jit/inline.def b/src/jit/inline.def index 64cb5a166f..fa2ab24e8e 100644 --- a/src/jit/inline.def +++ b/src/jit/inline.def @@ -113,7 +113,8 @@ INLINE_OBSERVATION(IMPLICIT_REC_TAIL_CALL, bool, "implicit recursive tail c INLINE_OBSERVATION(IS_CALL_TO_HELPER, bool, "target is helper", FATAL, CALLSITE) INLINE_OBSERVATION(IS_NOT_DIRECT, bool, "target not direct", FATAL, CALLSITE) INLINE_OBSERVATION(IS_NOT_DIRECT_MANAGED, bool, "target not direct managed", FATAL, CALLSITE) -INLINE_OBSERVATION(IS_RECURSIVE_OR_DEEP, bool, "recursive or too deep", FATAL, CALLSITE) +INLINE_OBSERVATION(IS_RECURSIVE, bool, "recursive", FATAL, CALLSITE) +INLINE_OBSERVATION(IS_TOO_DEEP, bool, "too deep", FATAL, CALLSITE) INLINE_OBSERVATION(IS_VIRTUAL, bool, "virtual", FATAL, CALLSITE) INLINE_OBSERVATION(IS_VM_NOINLINE, bool, "noinline per VM", FATAL, CALLSITE) INLINE_OBSERVATION(IS_WITHIN_CATCH, bool, "within catch region", FATAL, CALLSITE) @@ -134,6 +135,7 @@ INLINE_OBSERVATION(TOO_MANY_LOCALS, bool, "too many locals", INLINE_OBSERVATION(ARGS_OK, bool, "arguments suitable", INFORMATION, CALLSITE) INLINE_OBSERVATION(BENEFIT_MULTIPLIER, double, "benefit multiplier", INFORMATION, CALLSITE) +INLINE_OBSERVATION(DEPTH, int, "depth" , INFORMATION, CALLSITE) INLINE_OBSERVATION(LOCALS_OK, bool, "locals suitable", INFORMATION, CALLSITE) INLINE_OBSERVATION(NATIVE_SIZE_ESTIMATE, double, "native size estimate", INFORMATION, CALLSITE) INLINE_OBSERVATION(NATIVE_SIZE_ESTIMATE_OK, bool, "native size estimate ok", INFORMATION, CALLSITE) |