mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
remove mysterious escaped newlines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60211 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f5102a0f08
commit
57d4012f65
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user