commit | a97ff8a027259b1b9e4dbdb5b6f01cc2195a6948 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Mar 03 05:18:19 2011 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Mar 03 05:18:19 2011 +0000 |
tree | f4daea01d38e23fa6b8996bcf546bc05365cc204 | |
parent | acf9f48c5e5fa2ce381d566aefc6285653ab2b5c [diff] |
Avoid comparing invalid slot indexes, and assert that it doesn't happen. The SlotIndex created by the default construction does not represent a position in the function, and it doesn't make sense to compare it to other indexes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126924 91177308-0d34-0410-b5e6-96231b3b80d8