| Index: src/IceOperand.h
|
| diff --git a/src/IceOperand.h b/src/IceOperand.h
|
| index 00febc402327a24773d41be5e7c6cebc4cbb2b6b..018445a60bbc197b12091e4a59edc82fb1f8ff07 100644
|
| --- a/src/IceOperand.h
|
| +++ b/src/IceOperand.h
|
| @@ -120,10 +120,9 @@ public:
|
| }
|
| T getValue() const { return Value; }
|
| using Constant::emit;
|
| - virtual void emit(GlobalContext *Ctx) const {
|
| - Ostream &Str = Ctx->getStrEmit();
|
| - Str << getValue();
|
| - }
|
| + // The target needs to implement this for each ConstantPrimitive
|
| + // specialization.
|
| + virtual void emit(GlobalContext *Ctx) const;
|
| using Constant::dump;
|
| virtual void dump(GlobalContext *Ctx) const {
|
| Ostream &Str = Ctx->getStrDump();
|
|
|