commit | b6482069f034afebc0355fc438e0351c9a2edf1f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Aug 16 05:09:58 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Aug 16 05:09:58 2004 +0000 |
tree | a662a7a816e3973794b427d20acf5b77cb7b0fc0 | |
parent | 746a49516c7c8a9bb0f5fc1051e1768086c4b8a9 [diff] [blame] |
There is no need for a cast here git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15810 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/PowerPC/PPCFrameInfo.h b/lib/Target/PowerPC/PPCFrameInfo.h index c72da9a..3c7777c 100644 --- a/lib/Target/PowerPC/PPCFrameInfo.h +++ b/lib/Target/PowerPC/PPCFrameInfo.h
@@ -36,7 +36,7 @@ const std::pair<unsigned, int> * getCalleeSaveSpillSlots(unsigned &NumEntries) const { NumEntries = 1; - return static_cast<const std::pair<unsigned, int> *>(LR); + return &LR[0]; } };