| Index: src/IceTranslator.h
|
| diff --git a/src/IceTranslator.h b/src/IceTranslator.h
|
| index 11899513e415337d0b1b01a53747dfa9668093e3..f35aff3f002ceef5eea13e608a673bd6ae7d353d 100644
|
| --- a/src/IceTranslator.h
|
| +++ b/src/IceTranslator.h
|
| @@ -35,6 +35,17 @@ 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.
|
| + /// 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 +62,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;
|
|
|