forked from OSchip/llvm-project
[ARC] Fix -Wunused-variable. NFC
This commit is contained in:
parent
1c35973c77
commit
54405a49d8
|
@ -44,8 +44,7 @@ enum TSFlagsConstants {
|
|||
void ARCInstrInfo::anchor() {}
|
||||
|
||||
ARCInstrInfo::ARCInstrInfo(const ARCSubtarget &ST)
|
||||
: ARCGenInstrInfo(ARC::ADJCALLSTACKDOWN, ARC::ADJCALLSTACKUP), ST(ST),
|
||||
RI(ST) {}
|
||||
: ARCGenInstrInfo(ARC::ADJCALLSTACKDOWN, ARC::ADJCALLSTACKUP), RI(ST) {}
|
||||
|
||||
static bool isZeroImm(const MachineOperand &Op) {
|
||||
return Op.isImm() && Op.getImm() == 0;
|
||||
|
|
|
@ -24,7 +24,6 @@ namespace llvm {
|
|||
class ARCSubtarget;
|
||||
|
||||
class ARCInstrInfo : public ARCGenInstrInfo {
|
||||
const ARCSubtarget &ST;
|
||||
const ARCRegisterInfo RI;
|
||||
virtual void anchor();
|
||||
|
||||
|
|
Loading…
Reference in New Issue