aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-04-23 21:38:35 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-04-23 21:38:35 +0000
commit9d80930e950214d026afd3a3d18cda32629efdb9 (patch)
tree6141c60a18cd33eb22e06d8297482e92c0303c1a /lib/VMCore
parentb02fbfc485a68cebeede24810b0cd8f0d97c9e51 (diff)
downloadexternal_llvm-9d80930e950214d026afd3a3d18cda32629efdb9.zip
external_llvm-9d80930e950214d026afd3a3d18cda32629efdb9.tar.gz
external_llvm-9d80930e950214d026afd3a3d18cda32629efdb9.tar.bz2
Eliminate tabs and trailing spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21480 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/BasicBlock.cpp4
-rw-r--r--lib/VMCore/Dominators.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/VMCore/BasicBlock.cpp b/lib/VMCore/BasicBlock.cpp
index a9fb924..98d12d8 100644
--- a/lib/VMCore/BasicBlock.cpp
+++ b/lib/VMCore/BasicBlock.cpp
@@ -138,7 +138,7 @@ void BasicBlock::removePredecessor(BasicBlock *Pred,
bool DontDeleteUselessPHIs) {
assert((hasNUsesOrMore(16)||// Reduce cost of this assertion for complex CFGs.
find(pred_begin(this), pred_end(this), Pred) != pred_end(this)) &&
- "removePredecessor: BB is not a predecessor!");
+ "removePredecessor: BB is not a predecessor!");
if (InstList.empty()) return;
PHINode *APN = dyn_cast<PHINode>(&front());
@@ -209,7 +209,7 @@ void BasicBlock::removePredecessor(BasicBlock *Pred,
BasicBlock *BasicBlock::splitBasicBlock(iterator I, const std::string &BBName) {
assert(getTerminator() && "Can't use splitBasicBlock on degenerate BB!");
assert(I != InstList.end() &&
- "Trying to get me to create degenerate basic block!");
+ "Trying to get me to create degenerate basic block!");
BasicBlock *New = new BasicBlock(BBName, getParent(), getNext());
diff --git a/lib/VMCore/Dominators.cpp b/lib/VMCore/Dominators.cpp
index 220c7d9..a59bd4e 100644
--- a/lib/VMCore/Dominators.cpp
+++ b/lib/VMCore/Dominators.cpp
@@ -258,7 +258,7 @@ bool DominatorSet::runOnFunction(Function &F) {
Roots.clear();
Roots.push_back(Root);
assert(pred_begin(Root) == pred_end(Root) &&
- "Root node has predecessors in function!");
+ "Root node has predecessors in function!");
ImmediateDominators &ID = getAnalysis<ImmediateDominators>();
Doms.clear();
@@ -448,7 +448,7 @@ DominanceFrontier::calculate(const DominatorTree &DT,
DomSetType::const_iterator CDFI = ChildDF.begin(), CDFE = ChildDF.end();
for (; CDFI != CDFE; ++CDFI) {
if (!Node->dominates(DT[*CDFI]))
- S.insert(*CDFI);
+ S.insert(*CDFI);
}
}