[llvm-commits] [llvm] r128818 - /llvm/trunk/utils/TableGen/X86DisassemblerTables.cpp
Duncan Sands
baldrick at free.fr
Mon Apr 4 07:52:32 PDT 2011
Hi Joerg,
> - for (i = 0; i< 4; i++) {
> + for (i = 0; i< sizeof(Tables) / sizeof(Tables[0]); i++) {
maybe you can use array_lengthof from STLExtras.h instead.
Ciao, Duncan.
More information about the llvm-commits
mailing list