mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
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:
parent
746a49516c
commit
b6482069f0
@ -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];
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user