Refactor the flag test of BBF_PROF_WEIGHT
authorBrian Sullivan <briansul@microsoft.com>
Thu, 16 Mar 2017 23:45:17 +0000 (16:45 -0700)
committerBrian Sullivan <briansul@microsoft.com>
Fri, 17 Mar 2017 21:38:26 +0000 (14:38 -0700)
commitd211769a76ec53d908ddd90a0f2cfa1efad3d6da
tree0d34b13ce3408b38b2658f3ac23858a90c0a5449
parentdd75f24078d265f85a52d85672fa8bde8a8dcfd3
Refactor the flag test of BBF_PROF_WEIGHT
to always call the new method hasProfileWeight()

Commit migrated from https://github.com/dotnet/coreclr/commit/8602b75d969b542e98afd92f56a328c4480bb317
src/coreclr/src/jit/block.h
src/coreclr/src/jit/flowgraph.cpp
src/coreclr/src/jit/importer.cpp
src/coreclr/src/jit/morph.cpp
src/coreclr/src/jit/optimizer.cpp