From: NAKAMURA Takumi Date: Wed, 29 May 2013 12:10:42 +0000 (+0000) Subject: SparcFrameLowering.cpp: Mark verifyLeafProcRegUse() as UNUSED. [-Wunused-function] X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d1c180e0305c5bedb2b4259c1d841e944d043880;p=oota-llvm.git SparcFrameLowering.cpp: Mark verifyLeafProcRegUse() as UNUSED. [-Wunused-function] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182850 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Sparc/SparcFrameLowering.cpp b/lib/Target/Sparc/SparcFrameLowering.cpp index 3832c103885..2e5229879c7 100644 --- a/lib/Target/Sparc/SparcFrameLowering.cpp +++ b/lib/Target/Sparc/SparcFrameLowering.cpp @@ -136,7 +136,7 @@ bool SparcFrameLowering::hasFP(const MachineFunction &MF) const { } -static bool verifyLeafProcRegUse(MachineRegisterInfo *MRI) +static bool LLVM_ATTRIBUTE_UNUSED verifyLeafProcRegUse(MachineRegisterInfo *MRI) { for (unsigned reg = SP::I0; reg <= SP::I7; ++reg)