Get rid of the abort in PhyRegAlloc::finishSavingState().
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 11 Mar 2004 19:46:30 +0000 (19:46 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 11 Mar 2004 19:46:30 +0000 (19:46 +0000)
commitc760d647c62125e6122afd92b6142ae1c42f95eb
treeef52a569d9565d009050235a1eb1103904e785ed
parentc46f8a4f42f20370006476f9fdfa7ead1df0b0bf
Get rid of the abort in PhyRegAlloc::finishSavingState().

Make an explicit call to it from runOnFunction() if we know we're supposed to
write into the global. This is lame (esp. the const_cast), but it solves
the problem.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12291 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp