aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-20 19:35:09 +0000
committerDavid Robillard <d@drobilla.net>2009-06-20 19:35:09 +0000
commita7fb7f1fdb26418189d6241c47cc4d69531da809 (patch)
tree104ef947ae806051064a3ea10684ef7cf765beda
parentc10b039113a618b6b0851260430985a64da4d826 (diff)
downloadresp-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.cpp4
-rw-r--r--tuplr.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/llvm.cpp b/llvm.cpp
index efbd454..d3782f9 100644
--- a/llvm.cpp
+++ b/llvm.cpp
@@ -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 *
***************************************************************************/
diff --git a/tuplr.cpp b/tuplr.cpp
index bc5ea0b..da5a31a 100644
--- a/tuplr.cpp
+++ b/tuplr.cpp
@@ -46,6 +46,7 @@ operator<<(ostream& out, const Exp<Atom>& exp)
return out;
}
+
/***************************************************************************
* Lexer *
***************************************************************************/