An overhaul of the exception handling code. This is arguably more correct than
authorBill Wendling <isanbard@gmail.com>
Sat, 15 Aug 2009 21:27:32 +0000 (21:27 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 15 Aug 2009 21:27:32 +0000 (21:27 +0000)
commit3f5bb168bcea8c34f9bd1536096f05fb7e8312f8
treed541e5adae535ba82075f3cbd563bb9d474fe0ce
parent2525f18e4fb748e27a3c051436ac3afbff04243f
An overhaul of the exception handling code. This is arguably more correct than
what was there before. In "no FP mode", we weren't generating labels and unwind
table entries after each "push" instruction. While more than likely "okay", it's
not technically correct. The major thing was that the ordering of when to define
a new CFA register and at what offset wasn't correct. This would cause the
exception handling to fail in ways most miserable to users.

I also cleaned up some code a bit. There's one function which has a "return" at
the beginning, so it's never used. Should I just remove it? :-)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79139 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp