Avoid creating a SlotIndex from the end() iterator.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 8 Mar 2013 18:08:54 +0000 (18:08 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 8 Mar 2013 18:08:54 +0000 (18:08 +0000)
commite77b6ceb02b07659092b969fb4a96b56c52375ad
tree13cc73ec3b7549a54e3c28e53de627b8660e0c38
parent7a58099f0a4c9503f400f6b81590a5f6b73d4b97
Avoid creating a SlotIndex from the end() iterator.

No test case, spotted by inspection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176705 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SlotIndexes.h