diff options
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/PowerPC/PowerPCFrameInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PowerPCFrameInfo.h b/llvm/lib/Target/PowerPC/PowerPCFrameInfo.h index c72da9ad26a..3c7777cecca 100644 --- a/llvm/lib/Target/PowerPC/PowerPCFrameInfo.h +++ b/llvm/lib/Target/PowerPC/PowerPCFrameInfo.h @@ -36,7 +36,7 @@ public: const std::pair<unsigned, int> * getCalleeSaveSpillSlots(unsigned &NumEntries) const { NumEntries = 1; - return static_cast<const std::pair<unsigned, int> *>(LR); + return &LR[0]; } }; |