make sure to delete the llvm module before calling llvm_shutdown,
[oota-llvm.git] / tools / lto / LTOCodeGenerator.h
index 2dd3f6565775899b93173d51c453f9c908115bc1..cac3b8c8bf6781fdd7e8949504ce74f53a1b8da1 100644 (file)
@@ -33,7 +33,7 @@ struct LTOCodeGenerator {
                             LTOCodeGenerator();
                             ~LTOCodeGenerator();
                             
-    bool                addModule(class LTOModule*, std::string& errMsg);
+    bool                addModule(struct LTOModule*, std::string& errMsg);
     bool                setDebugInfo(lto_debug_model, std::string& errMsg);
     bool                setCodePICModel(lto_codegen_model, std::string& errMsg);
     void                setAssemblerPath(const char* path);