mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Remove an unused variable, fixing -Werror build with latest Clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190640 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -609,7 +609,6 @@ static void getMaxByValAlign(Type *Ty, unsigned &MaxAlign,
|
|||||||
/// getByValTypeAlignment - Return the desired alignment for ByVal aggregate
|
/// getByValTypeAlignment - Return the desired alignment for ByVal aggregate
|
||||||
/// function arguments in the caller parameter area.
|
/// function arguments in the caller parameter area.
|
||||||
unsigned PPCTargetLowering::getByValTypeAlignment(Type *Ty) const {
|
unsigned PPCTargetLowering::getByValTypeAlignment(Type *Ty) const {
|
||||||
const TargetMachine &TM = getTargetMachine();
|
|
||||||
// Darwin passes everything on 4 byte boundary.
|
// Darwin passes everything on 4 byte boundary.
|
||||||
if (PPCSubTarget.isDarwin())
|
if (PPCSubTarget.isDarwin())
|
||||||
return 4;
|
return 4;
|
||||||
|
Reference in New Issue
Block a user