diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-16 05:09:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-16 05:09:58 +0000 |
commit | f2e9ea21061e21820a7b5053b7423253e75d84a1 (patch) | |
tree | f752102e87d935e4e0cbf1e6669d586fc2427e87 /llvm | |
parent | ab6b08d937c31d8b07800efaae3bb094481fc54d (diff) | |
download | bcm5719-llvm-f2e9ea21061e21820a7b5053b7423253e75d84a1.tar.gz bcm5719-llvm-f2e9ea21061e21820a7b5053b7423253e75d84a1.zip |
There is no need for a cast here
llvm-svn: 15810
Diffstat (limited to 'llvm')
-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]; } }; |