forked from OSchip/llvm-project
parent
769bff18be
commit
7792f5f145
|
@ -462,9 +462,8 @@ bool StackSafetyDataFlowAnalysis::updateOneUse(UseInfo &US,
|
||||||
bool UpdateToFullSet) {
|
bool UpdateToFullSet) {
|
||||||
bool Changed = false;
|
bool Changed = false;
|
||||||
for (auto &CS : US.Calls) {
|
for (auto &CS : US.Calls) {
|
||||||
// FIXME: this doesn't build.
|
assert(!CS.Offset.isEmptySet() &&
|
||||||
// assert(!CS.Range.isEmptySet() &&
|
"Param range can't be empty-set, invalid offset range");
|
||||||
// "Param range can't be empty-set, invalid access range");
|
|
||||||
|
|
||||||
ConstantRange CalleeRange = getArgumentAccessRange(CS.Callee, CS.ParamNo);
|
ConstantRange CalleeRange = getArgumentAccessRange(CS.Callee, CS.ParamNo);
|
||||||
CalleeRange = CalleeRange.add(CS.Offset);
|
CalleeRange = CalleeRange.add(CS.Offset);
|
||||||
|
|
Loading…
Reference in New Issue