diff options
author | Gabor Greif <ggreif@gmail.com> | 2008-05-15 10:04:30 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2008-05-15 10:04:30 +0000 |
commit | 697e94cc222993efbb07c6c60d6745277ea88bd3 (patch) | |
tree | 9308057aaec04efeb6d26b235acee5ef1bdc85da /llvm/examples/BrainF/BrainF.cpp | |
parent | 06166e8ddda49f2bad028b392e43a32f78fd8e1e (diff) | |
download | llvm-697e94cc222993efbb07c6c60d6745277ea88bd3.zip llvm-697e94cc222993efbb07c6c60d6745277ea88bd3.tar.gz llvm-697e94cc222993efbb07c6c60d6745277ea88bd3.tar.bz2 |
Fix a bunch of 80col violations that arose from the Create API change. Tweak makefile targets to find these better.
llvm-svn: 51143
Diffstat (limited to 'llvm/examples/BrainF/BrainF.cpp')
-rw-r--r-- | llvm/examples/BrainF/BrainF.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/examples/BrainF/BrainF.cpp b/llvm/examples/BrainF/BrainF.cpp index bd6d5f2..a79c44e 100644 --- a/llvm/examples/BrainF/BrainF.cpp +++ b/llvm/examples/BrainF/BrainF.cpp @@ -278,9 +278,10 @@ void BrainF::readloop(PHINode *phi, BasicBlock *oldbb, BasicBlock *testbb) { BasicBlock *bb_1 = BasicBlock::Create(label, brainf_func); builder->SetInsertPoint(bb_1); - //Make part of PHI instruction now, wait until end of loop to finish - PHINode *phi_0 = PHINode::Create(PointerType::getUnqual(IntegerType::Int8Ty), - headreg, testbb); + // Make part of PHI instruction now, wait until end of loop to finish + PHINode *phi_0 = + PHINode::Create(PointerType::getUnqual(IntegerType::Int8Ty), + headreg, testbb); phi_0->reserveOperandSpace(2); phi_0->addIncoming(curhead, bb_0); curhead = phi_0; |