Use macro _countof instead of explicit sizeof(arr) / sizeof(arr[0]) or sizeof(arr...
authorEgor Chesakov <Egor.Chesakov@microsoft.com>
Tue, 12 Dec 2017 14:31:00 +0000 (06:31 -0800)
committerJan Kotas <jkotas@microsoft.com>
Tue, 12 Dec 2017 14:31:00 +0000 (09:31 -0500)
commit82a96afda22c869b67058971a403c87ab51de2c1
treec8673fbe42da8629966b8911ef4fff620ee10438
parent739b71daf0249526ff359d5809c48e2ce38a07ac
Use macro _countof instead of explicit sizeof(arr) / sizeof(arr[0]) or sizeof(arr) / sizeof(*arr) in clrjit. (#15474)
22 files changed:
src/jit/assertionprop.cpp
src/jit/codegenlegacy.cpp
src/jit/compiler.cpp
src/jit/compiler.hpp
src/jit/disasm.cpp
src/jit/emit.cpp
src/jit/emitxarch.cpp
src/jit/gentree.cpp
src/jit/importer.cpp
src/jit/inline.cpp
src/jit/instr.cpp
src/jit/jithashtable.h
src/jit/lclvars.cpp
src/jit/regalloc.cpp
src/jit/regset.cpp
src/jit/simd.cpp
src/jit/smdata.cpp
src/jit/smweights.cpp
src/jit/stackfp.cpp
src/jit/unwindarm.cpp
src/jit/utils.cpp
src/jit/valuenum.cpp