diff options
author | David Robillard <d@drobilla.net> | 2009-03-10 19:56:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-03-10 19:56:36 +0000 |
commit | 98625eefd3df3c903f758ff2aaf9f6b9d314723f (patch) | |
tree | 14b7a3ba74355bc68704ebfafd20ea21f270a22b | |
parent | 16fbc29a3605f9460a986f932e619a935b95c5e5 (diff) | |
download | resp-98625eefd3df3c903f758ff2aaf9f6b9d314723f.tar.gz resp-98625eefd3df3c903f758ff2aaf9f6b9d314723f.tar.bz2 resp-98625eefd3df3c903f758ff2aaf9f6b9d314723f.zip |
More super important world changing kind of stuff.
git-svn-id: http://svn.drobilla.net/resp/tuplr@81 ad02d1e2-f140-0410-9f75-f8b11f17cedd
-rw-r--r-- | llvm.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -310,10 +310,10 @@ CValue AIf::compile(CEnv& cenv) { typedef vector< pair<Value*, BasicBlock*> > Branches; - Function* parent = cenv.engine.builder.GetInsertBlock()->getParent(); - BasicBlock* mergeBB = BasicBlock::Create("endif"); - BasicBlock* nextBB = NULL; - Branches branches; + Function* parent = cenv.engine.builder.GetInsertBlock()->getParent(); + BasicBlock* mergeBB = BasicBlock::Create("endif"); + BasicBlock* nextBB = NULL; + Branches branches; for (size_t i = 1; i < size() - 1; i += 2) { Value* condV = LLVal(cenv.compile(at(i))); BasicBlock* thenBB = BasicBlock::Create((format("then%1%") % ((i+1)/2)).str()); |