| Index: src/IceConverter.h
|
| diff --git a/src/IceConverter.h b/src/IceConverter.h
|
| index dc18e7a09838e9b6feca9cf0ba8dee1bb4c35b2e..30d3b6041c4d8e859d6fa2e0351b4c5b135273d1 100644
|
| --- a/src/IceConverter.h
|
| +++ b/src/IceConverter.h
|
| @@ -25,11 +25,15 @@ namespace Ice {
|
| class Converter : public Translator {
|
| public:
|
| Converter(GlobalContext *Ctx, Ice::ClFlags &Flags) : Translator(Ctx, Flags) {}
|
| - /// Converts the LLVM Module to ICE. Returns exit status 0 if successful,
|
| - /// Nonzero otherwise.
|
| - int convertToIce(llvm::Module *Mod);
|
| + /// Converts the LLVM Module to ICE. Sets exit status to false if successful,
|
| + /// true otherwise.
|
| + void convertToIce(llvm::Module *Mod);
|
|
|
| private:
|
| + // Converts globals to ICE, and then machine code.
|
| + void convertGlobals(llvm::Module *Mod);
|
| + // Converts functions to ICE, and then machine code.
|
| + void convertFunctions(llvm::Module *Mod);
|
| Converter(const Converter &) LLVM_DELETED_FUNCTION;
|
| Converter &operator=(const Converter &) LLVM_DELETED_FUNCTION;
|
| };
|
|
|