aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/MemoryDependenceAnalysis.cpp
diff options
context:
space:
mode:
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 {