projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused argument. NFC.
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
MCTargetDesc
/
PPCMCAsmInfo.cpp
diff --git
a/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
b/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
index 2b4f2d81db85a4dd9c3896519ff35fb45e1f3343..d8fab5b7c01a2f7d78c8ae7b32a9188f6847b32d 100644
(file)
--- a/
lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
+++ b/
lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
@@
-45,6
+45,10
@@
PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit, const Triple& T) {
void PPCELFMCAsmInfo::anchor() { }
PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) {
void PPCELFMCAsmInfo::anchor() { }
PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) {
+ // FIXME: This is not always needed. For example, it is not needed in the
+ // v2 abi.
+ NeedsLocalForSize = true;
+
if (is64Bit) {
PointerSize = CalleeSaveStackSlotSize = 8;
}
if (is64Bit) {
PointerSize = CalleeSaveStackSlotSize = 8;
}