Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(840)

Unified Diff: src/IceInst.h

Issue 647193003: emitIAS for store and indirect calls. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: stuff Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/IceInstX8632.h » ('j') | src/IceInstX8632.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {}
};
« no previous file with comments | « no previous file | src/IceInstX8632.h » ('j') | src/IceInstX8632.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698