| Index: src/IceInstMIPS32.h
|
| diff --git a/src/IceInstMIPS32.h b/src/IceInstMIPS32.h
|
| index 5dc836713db774ea7a2f25b74f08b2c6af2a1425..bc05eb84b0e3f8ec2f559aaa477203112c3613f2 100644
|
| --- a/src/IceInstMIPS32.h
|
| +++ b/src/IceInstMIPS32.h
|
| @@ -1,4 +1,4 @@
|
| -//===- subzero/src/IceInstMIPS32.h - MIPS32 machine instrs --*- C++ -*-=== //
|
| +//===- subzero/src/IceInstMIPS32.h - MIPS32 machine instrs --*- C++ -*-----===//
|
| //
|
| // The Subzero Code Generator
|
| //
|
| @@ -199,6 +199,8 @@ public:
|
| Xori
|
| };
|
|
|
| + static constexpr size_t InstSize = sizeof(uint32_t);
|
| +
|
| static const char *getWidthString(Type Ty);
|
|
|
| void dump(const Cfg *Func) const override;
|
| @@ -675,7 +677,7 @@ public:
|
| }
|
| bool repointEdges(CfgNode *OldNode, CfgNode *NewNode) override;
|
| void emit(const Cfg *Func) const override;
|
| - void emitIAS(const Cfg *Func) const override { (void)Func; };
|
| + void emitIAS(const Cfg *Func) const override;
|
| void dump(const Cfg *Func) const override;
|
| static bool classof(const Inst *Instr) { return isClassof(Instr, Br); }
|
|
|
| @@ -751,7 +753,6 @@ public:
|
| Str << (int32_t)Imm;
|
| else
|
| Str << Imm;
|
| - Str << "\n";
|
| }
|
|
|
| void emitIAS(const Cfg *Func) const override {
|
| @@ -771,7 +772,6 @@ public:
|
| Str << (int32_t)Imm;
|
| else
|
| Str << Imm;
|
| - Str << "\n";
|
| }
|
|
|
| static bool classof(const Inst *Inst) { return isClassof(Inst, K); }
|
|
|