Index: src/IceInst.h |
diff --git a/src/IceInst.h b/src/IceInst.h |
index c34e6c98ab166337adf1ae67b9ed1149743cac94..bbd817b52f978b7d973bdfbc0d35f2ba53e4115d 100644 |
--- a/src/IceInst.h |
+++ b/src/IceInst.h |
@@ -730,7 +730,7 @@ public: |
return new (Func->allocateInst<InstFakeDef>()) InstFakeDef(Func, Dest, Src); |
} |
void emit(const Cfg *Func) const override; |
- void emitIAS(const Cfg *Func) const override { emit(Func); } |
+ void emitIAS(const Cfg * /* Func */) const override {} |
void dump(const Cfg *Func) const override; |
static bool classof(const Inst *Inst) { return Inst->getKind() == FakeDef; } |
@@ -753,7 +753,7 @@ public: |
return new (Func->allocateInst<InstFakeUse>()) InstFakeUse(Func, Src); |
} |
void emit(const Cfg *Func) const override; |
- void emitIAS(const Cfg *Func) const override { emit(Func); } |
+ void emitIAS(const Cfg * /* Func */) const override {} |
void dump(const Cfg *Func) const override; |
static bool classof(const Inst *Inst) { return Inst->getKind() == FakeUse; } |
@@ -783,7 +783,7 @@ public: |
} |
const Inst *getLinked() const { return Linked; } |
void emit(const Cfg *Func) const override; |
- void emitIAS(const Cfg *Func) const override { emit(Func); } |
+ void emitIAS(const Cfg * /* Func */) const override {} |
void dump(const Cfg *Func) const override; |
static bool classof(const Inst *Inst) { return Inst->getKind() == FakeKill; } |
@@ -811,7 +811,6 @@ protected: |
: Inst(Func, Kind, MaxSrcs, Dest) { |
assert(Kind >= Target); |
} |
- void emitIAS(const Cfg *Func) const override { emit(Func); } |
Jim Stichnoth
2014/10/16 02:48:16
Cool!
|
~InstTarget() override {} |
}; |