forked from OSchip/llvm-project
Remove an unused variable, fixing -Werror build with latest Clang.
llvm-svn: 190640
This commit is contained in:
parent
1fff95c702
commit
51428e363f
|
@ -609,7 +609,6 @@ static void getMaxByValAlign(Type *Ty, unsigned &MaxAlign,
|
|||
/// getByValTypeAlignment - Return the desired alignment for ByVal aggregate
|
||||
/// function arguments in the caller parameter area.
|
||||
unsigned PPCTargetLowering::getByValTypeAlignment(Type *Ty) const {
|
||||
const TargetMachine &TM = getTargetMachine();
|
||||
// Darwin passes everything on 4 byte boundary.
|
||||
if (PPCSubTarget.isDarwin())
|
||||
return 4;
|
||||
|
|
Loading…
Reference in New Issue