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

Unified Diff: src/IceInstX8632.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
Index: src/IceInstX8632.h
diff --git a/src/IceInstX8632.h b/src/IceInstX8632.h
index 8fa4bdb745e641d8f7cfaf3aff3a692d6a79b5ed..8235d1fe264e284f355e8adbb6d1bc19d1ec573c 100644
--- a/src/IceInstX8632.h
+++ b/src/IceInstX8632.h
@@ -322,6 +322,8 @@ public:
uint32_t getEmitInstCount() const override { return 0; }
IceString getName(const Cfg *Func) const;
void emit(const Cfg *Func) const override;
+ // TODO(jvoung): Filler in.
+ void emitIAS(const Cfg *Func) const override { emit(Func); }
void dump(const Cfg *Func) const override;
private:
@@ -383,6 +385,8 @@ public:
return Sum;
}
void emit(const Cfg *Func) const override;
+ // TODO(jvoung): Filler in.
+ void emitIAS(const Cfg *Func) const override { emit(Func); }
void dump(const Cfg *Func) const override;
static bool classof(const Inst *Inst) { return isClassof(Inst, Br); }
@@ -429,6 +433,7 @@ public:
}
Operand *getCallTarget() const { return getSrc(0); }
void emit(const Cfg *Func) const override;
+ void emitIAS(const Cfg *Func) const override;
void dump(const Cfg *Func) const override;
static bool classof(const Inst *Inst) { return isClassof(Inst, Call); }
@@ -1274,6 +1279,7 @@ public:
InstX8632Store(Func, Value, Mem);
}
void emit(const Cfg *Func) const override;
+ void emitIAS(const Cfg *Func) const override;
void dump(const Cfg *Func) const override;
static bool classof(const Inst *Inst) { return isClassof(Inst, Store); }

Powered by Google App Engine
This is Rietveld 408576698