diff options
author | David Robillard <d@drobilla.net> | 2009-06-20 19:35:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-06-20 19:35:09 +0000 |
commit | a7fb7f1fdb26418189d6241c47cc4d69531da809 (patch) | |
tree | 104ef947ae806051064a3ea10684ef7cf765beda | |
parent | c10b039113a618b6b0851260430985a64da4d826 (diff) | |
download | resp-a7fb7f1fdb26418189d6241c47cc4d69531da809.tar.gz resp-a7fb7f1fdb26418189d6241c47cc4d69531da809.tar.bz2 resp-a7fb7f1fdb26418189d6241c47cc4d69531da809.zip |
Remove redundant module pointer.
git-svn-id: http://svn.drobilla.net/resp/tuplr@139 ad02d1e2-f140-0410-9f75-f8b11f17cedd
-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 * ***************************************************************************/ |