projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
746a495
)
There is no need for a cast here
author
Chris Lattner
<sabre@nondot.org>
Mon, 16 Aug 2004 05:09:58 +0000
(
05:09
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 16 Aug 2004 05:09:58 +0000
(
05:09
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15810
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCFrameInfo.h
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCFrameInfo.h
b/lib/Target/PowerPC/PPCFrameInfo.h
index c72da9ad26a5e887ece59ed36ec338d9fd3a2274..3c7777ceccaf9ec4fbcd17afbc1fede0a5c981aa 100644
(file)
--- a/
lib/Target/PowerPC/PPCFrameInfo.h
+++ b/
lib/Target/PowerPC/PPCFrameInfo.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]
;
}
};