| Index: src/IceTranslator.h
|
| diff --git a/src/IceTranslator.h b/src/IceTranslator.h
|
| index 11899513e415337d0b1b01a53747dfa9668093e3..d3c1760640609d104d0de44760a67b803bd5172d 100644
|
| --- a/src/IceTranslator.h
|
| +++ b/src/IceTranslator.h
|
| @@ -35,6 +35,18 @@ public:
|
| ~Translator();
|
| bool getErrorStatus() const { return ErrorStatus; }
|
|
|
| + GlobalContext *getContext() const { return Ctx; }
|
| +
|
| + ClFlags &getFlags() const { return Flags; }
|
| +
|
| + /// Translates the constructed ICE function Fcn to machine code.
|
| + /// Takes ownership of Fcn. Note: As a side effect, Field Func is
|
| + /// set to Fcn.
|
| + void translateFcn(Cfg *Fcn);
|
| +
|
| + /// Emits the constant pool.
|
| + void emitConstants();
|
| +
|
| protected:
|
| GlobalContext *Ctx;
|
| ClFlags &Flags;
|
| @@ -51,13 +63,6 @@ protected:
|
| // that.
|
| llvm::OwningPtr<Cfg> Func;
|
|
|
| - /// Translates the constructed ICE function Fcn to machine code.
|
| - /// Note: As a side effect, Field Func is set to Fcn.
|
| - void translateFcn(Cfg *Fcn);
|
| -
|
| - /// Emits the constant pool.
|
| - void emitConstants();
|
| -
|
| private:
|
| Translator(const Translator &) LLVM_DELETED_FUNCTION;
|
| Translator &operator=(const Translator &) LLVM_DELETED_FUNCTION;
|
|
|