diff options
| author | Todd Fiala <todd.fiala@gmail.com> | 2014-06-14 03:13:01 +0000 |
|---|---|---|
| committer | Todd Fiala <todd.fiala@gmail.com> | 2014-06-14 03:13:01 +0000 |
| commit | be03c36ef3e339e2d4bb0349775e7a8fa1489a4d (patch) | |
| tree | 95dbe7aeadc39b29874bea68ff23f4dec015e269 /llvm/lib/Transforms | |
| parent | c30281afbb62e9a86fd7a1c9f346f294d33dcdd1 (diff) | |
| download | bcm5719-llvm-be03c36ef3e339e2d4bb0349775e7a8fa1489a4d.tar.gz bcm5719-llvm-be03c36ef3e339e2d4bb0349775e7a8fa1489a4d.zip | |
Properly terminated POSIX register sets with LLDB_INVALID_REGNUM.
RegisterSets are assumed to be terminated by this value. Loops over
register set values would fail without LLDB_INVALID_REGNUM terminating
the list. This change adjusts the static check to account for the
size of the register set regnum list being one larger than the expected
valid register set count.
llvm-svn: 210964
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions

