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:
5f222b1
)
Fix compiler warnings.
author
Dale Johannesen
<dalej@apple.com>
Wed, 25 Nov 2009 00:58:21 +0000
(
00:58
+0000)
committer
Dale Johannesen
<dalej@apple.com>
Wed, 25 Nov 2009 00:58:21 +0000
(
00:58
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89824
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 4bf543a8d052de3bcf052ccc0f83d7637b9bc690..73d30bf5bed12a8592fff6c3aeede95cb93d5b45 100644
(file)
--- a/
lib/Target/PowerPC/PPCFrameInfo.h
+++ b/
lib/Target/PowerPC/PPCFrameInfo.h
@@
-94,11
+94,11
@@
public:
if (TM.getSubtarget<PPCSubtarget>().isDarwinABI()) {
NumEntries = 1;
if (TM.getSubtarget<PPCSubtarget>().isPPC64()) {
- static const SpillSlot darwin64Offsets
[]
= {PPC::X31, -8};
- return darwin64Offsets;
+ static const SpillSlot darwin64Offsets = {PPC::X31, -8};
+ return
&
darwin64Offsets;
} else {
- static const SpillSlot darwinOffsets
[]
= {PPC::R31, -4};
- return darwinOffsets;
+ static const SpillSlot darwinOffsets = {PPC::R31, -4};
+ return
&
darwinOffsets;
}
}