LLVM backend for 6502
Go to file
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
autoconf Renamed -use-spec to -use-spec2000. 2003-10-07 21:57:39 +00:00
docs Add links to bugzilla 2003-10-07 22:14:37 +00:00
examples/ModuleMaker Checkin of autoconf-style object root. 2003-09-06 15:03:24 +00:00
include Forward declare class Type since it is used in this class and Type.h is not included 2003-10-08 04:45:45 +00:00
lib Change MRegisterDesc::AliasSet, TargetInstrDescriptor::ImplicitDefs 2003-10-08 05:20:08 +00:00
projects Checkin of autoconf-style object root. 2003-09-06 15:03:24 +00:00
runtime Fix building outside the srcdir, again 2003-09-15 19:22:36 +00:00
test new testcase 2003-10-07 22:53:46 +00:00
tools This header file moved. Thanks to Bill and Nightly tester for noticing 2003-10-07 13:45:51 +00:00
utils Change MRegisterDesc::AliasSet, TargetInstrDescriptor::ImplicitDefs 2003-10-08 05:20:08 +00:00
.cvsignore Ok, try #2, this time I'll not be stupid 2003-08-03 18:33:24 +00:00
configure Renamed -use-spec to -use-spec2000. 2003-10-07 21:57:39 +00:00
CREDITS.TXT Add more credits 2003-10-07 20:50:29 +00:00
LICENSE.TXT Add prerelease license to cvs 2003-06-04 19:46:36 +00:00
Makefile Add rule for regenerating config.h.in using autoheader. 2003-10-07 23:44:10 +00:00
Makefile.common Checkin of autoconf-style object root. 2003-09-06 14:44:17 +00:00
Makefile.config.in Fixed SPEC so that it would run correctly with the new autoconf-style object 2003-09-11 18:03:50 +00:00
Makefile.rules Depend on config.status instead of config.h, because config.h timestamp may not 2003-10-07 15:24:23 +00:00