JIT: encapsulate general checks for optimization
authorAndy Ayers <andya@microsoft.com>
Sat, 5 Jan 2019 01:18:18 +0000 (17:18 -0800)
committerAndy Ayers <andya@microsoft.com>
Sat, 5 Jan 2019 01:18:18 +0000 (17:18 -0800)
commit4c68562cbd2f7a33bad60705db9b11e3121d40c2
tree6652d9a31af13772f9978b0c40388651cc45cd1e
parentdf4a1854aa42c1e97874b00fe49339e216e30af9
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).
16 files changed:
src/jit/codegenxarch.cpp
src/jit/compiler.cpp
src/jit/compiler.h
src/jit/compiler.hpp
src/jit/flowgraph.cpp
src/jit/gentree.cpp
src/jit/importer.cpp
src/jit/lclvars.cpp
src/jit/liveness.cpp
src/jit/lower.cpp
src/jit/morph.cpp
src/jit/optimizer.cpp
src/jit/regalloc.cpp
src/jit/regset.cpp
src/jit/scopeinfo.cpp
src/jit/simd.cpp