diff options
author | David Robillard <d@drobilla.net> | 2009-03-12 05:01:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-03-12 05:01:21 +0000 |
commit | 251232bc3bbf6d98f9f6f91352bdcceef3b102f0 (patch) | |
tree | bb3d1c65e672d0b9d933225a261337c44ebf2b7c /llvm.cpp | |
parent | 23978add2847c4ba1e8b2f5a63595fe1317ea992 (diff) | |
download | resp-251232bc3bbf6d98f9f6f91352bdcceef3b102f0.tar.gz resp-251232bc3bbf6d98f9f6f91352bdcceef3b102f0.tar.bz2 resp-251232bc3bbf6d98f9f6f91352bdcceef3b102f0.zip |
Encapsulate more types.
git-svn-id: http://svn.drobilla.net/resp/tuplr@83 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'llvm.cpp')
-rw-r--r-- | llvm.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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)) { } |