mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
73ff5120eb
and TargetInstrDescriptor::ImplicitUses to always point to a null terminated array and never be null. So there is no need to check for pointer validity when iterating over those sets. Code that looked like: if (const unsigned* AS = TID.ImplicitDefs) { for (int i = 0; AS[i]; ++i) { // use AS[i] } } was changed to: for (const unsigned* AS = TID.ImplicitDefs; *AS; ++AS) { // use *AS } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8960 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
CodeEmitterGen.cpp | ||
CodeEmitterGen.h | ||
CodeGenTarget.cpp | ||
CodeGenTarget.h | ||
CodeGenWrappers.cpp | ||
CodeGenWrappers.h | ||
FileLexer.l | ||
FileParser.y | ||
InstrInfoEmitter.cpp | ||
InstrInfoEmitter.h | ||
InstrSelectorEmitter.cpp | ||
InstrSelectorEmitter.h | ||
Makefile | ||
Record.cpp | ||
Record.h | ||
RegisterInfoEmitter.cpp | ||
RegisterInfoEmitter.h | ||
TableGen.cpp | ||
TableGenBackend.cpp | ||
TableGenBackend.h |