aboutsummaryrefslogtreecommitdiffstats
path: root/llvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm.cpp')
-rw-r--r--llvm.cpp4
1 files changed, 1 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 *
***************************************************************************/