Add an assertion instead of crashing when the scavenger goes past the end
authorBob Wilson <bob.wilson@apple.com>
Tue, 5 Apr 2011 20:44:15 +0000 (20:44 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 5 Apr 2011 20:44:15 +0000 (20:44 +0000)
commitbdaa9dc4a45b8831c942437f726895eb24a956ba
treee7c0fe6d1eb32f5fdd2eac7f6c36eaa9616b5eef
parent06d2b4223ff8e3776d059598a553c08525715311
Add an assertion instead of crashing when the scavenger goes past the end
of a basic block.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128925 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegisterScavenging.cpp