| Index: src/IceOperand.h
|
| diff --git a/src/IceOperand.h b/src/IceOperand.h
|
| index 5630c5cd2e6a1c2e9e935e563e82734198dda3cd..3bbd02cb60ba27836d7712522aec9c5dce3da0d5 100644
|
| --- a/src/IceOperand.h
|
| +++ b/src/IceOperand.h
|
| @@ -108,6 +108,7 @@ public:
|
| }
|
| void emit(const Cfg *Func) const override { emit(Func->getContext()); }
|
| virtual void emit(GlobalContext *Ctx) const = 0;
|
| + virtual void emitWithoutDollar(GlobalContext *Ctx) const = 0;
|
|
|
| static bool classof(const Operand *Operand) {
|
| OperandKind Kind = Operand->getKind();
|
| @@ -149,6 +150,7 @@ public:
|
| // The target needs to implement this for each ConstantPrimitive
|
| // specialization.
|
| void emit(GlobalContext *Ctx) const override;
|
| + void emitWithoutDollar(GlobalContext *Ctx) const override;
|
| using Constant::dump;
|
| void dump(const Cfg *, Ostream &Str) const override {
|
| if (ALLOW_DUMP)
|
| @@ -234,7 +236,7 @@ public:
|
| using Constant::emit;
|
| using Constant::dump;
|
| void emit(GlobalContext *Ctx) const override;
|
| - void emitWithoutDollar(GlobalContext *Ctx) const;
|
| + void emitWithoutDollar(GlobalContext *Ctx) const override;
|
| void dump(const Cfg *Func, Ostream &Str) const override;
|
|
|
| static bool classof(const Operand *Operand) {
|
| @@ -273,6 +275,7 @@ public:
|
| using Constant::dump;
|
| // The target needs to implement this.
|
| void emit(GlobalContext *Ctx) const override;
|
| + void emitWithoutDollar(GlobalContext *Ctx) const override;
|
| void dump(const Cfg *, Ostream &Str) const override {
|
| if (ALLOW_DUMP)
|
| Str << "undef";
|
|
|