llvm-6502/lib
Alkis Evlogimenos 73ff5120eb Change MRegisterDesc::AliasSet, TargetInstrDescriptor::ImplicitDefs
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
2003-10-08 05:20:08 +00:00
..
Analysis Use std::string::size_type for for ColonPos to stop gcc from giving a warning 2003-10-01 22:49:22 +00:00
Archive Update file header for renamed file 2003-09-22 23:42:00 +00:00
AsmParser The objects mapped are really PATypeHolders, not PATypeHandles 2003-10-02 19:00:34 +00:00
Bytecode All of our supported operating systems (so far) and FreeBSD technically 2003-10-06 03:30:28 +00:00
CodeGen Change MRegisterDesc::AliasSet, TargetInstrDescriptor::ImplicitDefs 2003-10-08 05:20:08 +00:00
ExecutionEngine Actually _PASS IN_ NO_RESERVE if we have it. 2003-10-06 19:07:41 +00:00
Linker Doxygen-ified comments. 2003-09-30 18:09:32 +00:00
Support ToolRunner.h has been moved from include/Support to include/llvm/Support. 2003-10-06 18:37:24 +00:00
Target Add # of printed instructions statistic to both the SPARC and X86 LLC backends. 2003-10-06 15:41:21 +00:00
Transforms whoops, don't accidentally lose variable names 2003-10-07 22:58:41 +00:00
VMCore Add a sanity check for constant expression casts 2003-10-07 22:19:19 +00:00
Makefile Removed Support directory. It now lives in llvm/support/lib. 2003-09-29 16:10:43 +00:00