1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

There is no need for a cast here

llvm-svn: 15810
This commit is contained in:
Chris Lattner 2004-08-16 05:09:58 +00:00
parent fcb98faaad
commit 8448b91e53

View File

@ -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];
}
};