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
This commit is contained in:
Chris Lattner 2004-08-16 05:09:58 +00:00
parent 746a49516c
commit b6482069f0

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