summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-02-24 17:34:50 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-02-24 17:34:50 +0000
commitc68c6df88485b7521133103c848393b8a13842af (patch)
tree3f3bf14143bb7969f42a929b0873f5a6fd46c04f /clang/lib/Format/Format.cpp
parent596b40871a22973873da21fecb1f45e32ebbfcdc (diff)
downloadbcm5719-llvm-c68c6df88485b7521133103c848393b8a13842af.tar.gz
bcm5719-llvm-c68c6df88485b7521133103c848393b8a13842af.zip
Fix PR14364.
This removes a const_cast hack from PPCRegisterInfo::hasReservedSpillSlot(). The proper place to save the frame index for the CR spill slot is in the PPCFunctionInfo object, not the PPCRegisterInfo object. No new test cases, as this just reimplements existing function. Existing tests such as test/CodeGen/PowerPC/crsave.ll are sufficient. llvm-svn: 175998
Diffstat (limited to 'clang/lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud