aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/Reg2Mem.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-04-16 18:10:23 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-04-16 18:10:23 +0000
commitbed2946a96ecb15b0b636fa74cb26ce61b1c648e (patch)
tree52a39df658d308bd7dfb4f04479139d23c149c73 /lib/Transforms/Scalar/Reg2Mem.cpp
parent892299ccf41e9b3726b1a9f297e47ce636b197ca (diff)
Removed tabs everywhere except autogenerated & external files. Add make
target for tabs checking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/Reg2Mem.cpp')
-rw-r--r--lib/Transforms/Scalar/Reg2Mem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Transforms/Scalar/Reg2Mem.cpp b/lib/Transforms/Scalar/Reg2Mem.cpp
index e1eab65bd4..e013cedb0d 100644
--- a/lib/Transforms/Scalar/Reg2Mem.cpp
+++ b/lib/Transforms/Scalar/Reg2Mem.cpp
@@ -44,7 +44,7 @@ namespace {
for(Value::use_iterator ii = i->use_begin(), ie = i->use_end();
ii != ie; ++ii)
if (cast<Instruction>(*ii)->getParent() != bb ||
- isa<PHINode>(*ii))
+ isa<PHINode>(*ii))
return true;
return false;
}
@@ -52,9 +52,9 @@ namespace {
virtual bool runOnFunction(Function &F) {
if (!F.isDeclaration()) {
//give us a clean block
- BasicBlock* bbold = &F.getEntryBlock();
- BasicBlock* bbnew = new BasicBlock("allocablock", &F, &F.getEntryBlock());
- new BranchInst(bbold, bbnew);
+ BasicBlock* bbold = &F.getEntryBlock();
+ BasicBlock* bbnew = new BasicBlock("allocablock", &F, &F.getEntryBlock());
+ new BranchInst(bbold, bbnew);
//find the instructions
std::list<Instruction*> worklist;