JIT: encapsulate general checks for optimization (#21822)
authorAndy Ayers <andya@microsoft.com>
Mon, 7 Jan 2019 21:12:39 +0000 (13:12 -0800)
committerGitHub <noreply@github.com>
Mon, 7 Jan 2019 21:12:39 +0000 (13:12 -0800)
commit7d54c590315ad682ed74f9491654720d83532ae7
tree177ae62f607f8dc482075f8c9beece17881a814e
parente8b934f0b52ecc019fee8ffaa48e658451a84996
parenta24b7a75d2f0b262564c10d69d0db27e3062c61a
JIT: encapsulate general checks for optimization (#21822)

* JIT: encapsulate general checks for optimization

Add methods that answer the general question of whether or not
the jit is optimizing the code it produces.

Use this to replace composite checks for minopts and debug
codegen (the two modes where the jit is not optimizing).

* inline keyword cleanup