diff options
-rw-r--r-- | llvm.cpp | 4 | ||||
-rw-r--r-- | tuplr.cpp | 1 |
2 files changed, 2 insertions, 3 deletions
@@ -78,7 +78,7 @@ llEngine(CEnv& cenv) } struct CEnv::PImpl { - PImpl(LLVMEngine* e) : engine(e), module(e->module), emp(module), opt(&emp) + PImpl(LLVMEngine* e) : engine(e), emp(e->module), opt(&emp) { // Set up the optimizer pipeline: const TargetData* target = engine->engine->getTargetData(); @@ -90,7 +90,6 @@ struct CEnv::PImpl { } LLVMEngine* engine; - Module* module; ExistingModuleProvider emp; FunctionPassManager opt; }; @@ -229,7 +228,6 @@ tuplr_free_engine(CEngine engine) } - /*************************************************************************** * Code Generation * ***************************************************************************/ @@ -46,6 +46,7 @@ operator<<(ostream& out, const Exp<Atom>& exp) return out; } + /*************************************************************************** * Lexer * ***************************************************************************/ |