OSDN Git Service

Subzero: Fix ODR errors in the g++ build.
authorJim Stichnoth <stichnot@chromium.org>
Wed, 14 Sep 2016 12:41:46 +0000 (05:41 -0700)
committerJim Stichnoth <stichnot@chromium.org>
Wed, 14 Sep 2016 12:41:46 +0000 (05:41 -0700)
In a similar fashion as https://codereview.chromium.org/1732233002 .

BUG= none
R=jpp@chromium.org

Review URL: https://codereview.chromium.org/2339843002 .

src/IceInstMIPS32.h

index 2254c33..f993800 100644 (file)
@@ -1167,6 +1167,24 @@ template <> void InstMIPS32Mult::emit(const Cfg *Func) const;
 template <> void InstMIPS32Multu::emit(const Cfg *Func) const;
 template <> void InstMIPS32Lui::emit(const Cfg *Func) const;
 
+template <> void InstMIPS32Addiu::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Slti::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Sltiu::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32And::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Andi::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Or::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Ori::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Xor::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Xori::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Sll::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Srl::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Sra::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Addu::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Slt::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Sltu::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Sw::emitIAS(const Cfg *Func) const;
+template <> void InstMIPS32Lw::emitIAS(const Cfg *Func) const;
+
 } // end of namespace MIPS32
 } // end of namespace Ice