aboutsummaryrefslogtreecommitdiffstats
path: root/llvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm.cpp')
-rw-r--r--llvm.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm.cpp b/llvm.cpp
index 8357f6d..4fcc5b6 100644
--- a/llvm.cpp
+++ b/llvm.cpp
@@ -73,9 +73,8 @@ CEngine::CEngine()
{
}
-struct CEnvPimpl {
- CEnvPimpl(CEngine& engine)
- : module(engine.module), emp(module), opt(&emp)
+struct CEnv::PImpl {
+ PImpl(CEngine& engine) : module(engine.module), emp(module), opt(&emp)
{
// Set up the optimizer pipeline:
const TargetData* target = engine.engine->getTargetData();
@@ -93,7 +92,7 @@ struct CEnvPimpl {
};
CEnv::CEnv(PEnv& p, TEnv& t, CEngine& e, ostream& os, ostream& es)
- : engine(e), penv(p), tenv(t), symID(0), alloc(0), log(os, es), _pimpl(new CEnvPimpl(e))
+ : engine(e), penv(p), tenv(t), symID(0), alloc(0), log(os, es), _pimpl(new PImpl(e))
{
}