forked from OSchip/llvm-project
Attempt to fix breakage caused by r273596.
llvm-svn: 273601
This commit is contained in:
parent
03a4aa3d00
commit
fe1397b977
|
@ -264,7 +264,7 @@ public:
|
|||
// Interprocedural assignment edges that CFLGraph may not easily model
|
||||
struct InterprocEdge {
|
||||
struct Node {
|
||||
Value *Value;
|
||||
Value *Val;
|
||||
unsigned DerefLevel;
|
||||
};
|
||||
|
||||
|
@ -862,8 +862,8 @@ CFLAAResult::FunctionInfo CFLAAResult::buildSetsFrom(Function *Fn) {
|
|||
|
||||
// Special handling for interprocedural aliases
|
||||
for (auto &Edge : GraphBuilder.getInterprocEdges()) {
|
||||
auto FromVal = Edge.From.Value;
|
||||
auto ToVal = Edge.To.Value;
|
||||
auto FromVal = Edge.From.Val;
|
||||
auto ToVal = Edge.To.Val;
|
||||
SetBuilder.add(FromVal);
|
||||
SetBuilder.add(ToVal);
|
||||
SetBuilder.addBelowWith(FromVal, Edge.From.DerefLevel, ToVal,
|
||||
|
|
Loading…
Reference in New Issue