aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/MemoryDependenceAnalysis.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-28 21:16:44 +0000
committerChris Lattner <sabre@nondot.org>2008-11-28 21:16:44 +0000
commit57d4012f657eedeae66e29e03228c56498608ee7 (patch)
tree5efe0736c1e4bb4f3cf8e4482b9f5dbb7cfd889d /lib/Analysis/MemoryDependenceAnalysis.cpp
parentf5102a0f088e7c96f7028bf7ca1c24975c314fff (diff)
remove mysterious escaped newlines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemoryDependenceAnalysis.cpp')
-rw-r--r--lib/Analysis/MemoryDependenceAnalysis.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp
index d5b0afccb9..f99f6afab5 100644
--- a/lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -120,7 +120,7 @@ Instruction* MemoryDependenceAnalysis::getCallSiteDependency(CallSite C,
} else if (AllocationInst* AI = dyn_cast<AllocationInst>(QI)) {
pointer = AI;
if (ConstantInt* C = dyn_cast<ConstantInt>(AI->getArraySize()))
- pointerSize = C->getZExtValue() * \
+ pointerSize = C->getZExtValue() *
TD.getABITypeSize(AI->getAllocatedType());
else
pointerSize = ~0UL;
@@ -398,7 +398,7 @@ Instruction* MemoryDependenceAnalysis::getDependency(Instruction* query,
} else if (AllocationInst* AI = dyn_cast<AllocationInst>(QI)) {
pointer = AI;
if (ConstantInt* C = dyn_cast<ConstantInt>(AI->getArraySize()))
- pointerSize = C->getZExtValue() * \
+ pointerSize = C->getZExtValue() *
TD.getABITypeSize(AI->getAllocatedType());
else
pointerSize = ~0UL;
@@ -533,9 +533,9 @@ void MemoryDependenceAnalysis::removeInstruction(Instruction* rem) {
if (RI == (BasicBlock::iterator)rem) RI++;
newDep = RI;
- } else if ( (depGraphEntry->second.first == NonLocal ||
- depGraphEntry->second.first == None ) &&
- depGraphEntry->second.second ) {
+ } else if ((depGraphEntry->second.first == NonLocal ||
+ depGraphEntry->second.first == None) &&
+ depGraphEntry->second.second) {
// If we have a confirmed non-local flag, use it
newDep = depGraphEntry->second.first;
} else {