Untabify.
llvm-svn: 274479
This commit is contained in:
@@ -1497,7 +1497,7 @@ Constant *LazyValueInfo::getConstant(Value *V, BasicBlock *BB,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ConstantRange LazyValueInfo::getConstantRange(Value *V, BasicBlock *BB,
|
ConstantRange LazyValueInfo::getConstantRange(Value *V, BasicBlock *BB,
|
||||||
Instruction *CxtI) {
|
Instruction *CxtI) {
|
||||||
assert(V->getType()->isIntegerTy());
|
assert(V->getType()->isIntegerTy());
|
||||||
unsigned Width = V->getType()->getIntegerBitWidth();
|
unsigned Width = V->getType()->getIntegerBitWidth();
|
||||||
const DataLayout &DL = BB->getModule()->getDataLayout();
|
const DataLayout &DL = BB->getModule()->getDataLayout();
|
||||||
|
|||||||
@@ -5020,7 +5020,7 @@ const SCEV *ScalarEvolution::createSCEV(Value *V) {
|
|||||||
MulOps.push_back(getSCEV(BO->LHS));
|
MulOps.push_back(getSCEV(BO->LHS));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
BO = NewBO;
|
BO = NewBO;
|
||||||
} while (true);
|
} while (true);
|
||||||
|
|
||||||
return getMulExpr(MulOps);
|
return getMulExpr(MulOps);
|
||||||
|
|||||||
@@ -479,7 +479,7 @@ Error RuntimeDyldImpl::computeTotalAllocSize(const ObjectFile &Obj,
|
|||||||
// If this is the first common symbol, use its alignment as the alignment
|
// If this is the first common symbol, use its alignment as the alignment
|
||||||
// for the common symbols section.
|
// for the common symbols section.
|
||||||
if (CommonSize == 0)
|
if (CommonSize == 0)
|
||||||
CommonAlign = Align;
|
CommonAlign = Align;
|
||||||
CommonSize = alignTo(CommonSize, Align) + Size;
|
CommonSize = alignTo(CommonSize, Align) + Size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -601,9 +601,8 @@ Error RuntimeDyldImpl::emitCommonSymbols(const ObjectFile &Obj,
|
|||||||
|
|
||||||
// Allocate memory for the section
|
// Allocate memory for the section
|
||||||
unsigned SectionID = Sections.size();
|
unsigned SectionID = Sections.size();
|
||||||
uint8_t *Addr = MemMgr.allocateDataSection(CommonSize, CommonAlign,
|
uint8_t *Addr = MemMgr.allocateDataSection(CommonSize, CommonAlign, SectionID,
|
||||||
SectionID, "<common symbols>",
|
"<common symbols>", false);
|
||||||
false);
|
|
||||||
if (!Addr)
|
if (!Addr)
|
||||||
report_fatal_error("Unable to allocate memory for common symbols!");
|
report_fatal_error("Unable to allocate memory for common symbols!");
|
||||||
uint64_t Offset = 0;
|
uint64_t Offset = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user