mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-25 21:46:50 +00:00
#ifdef out a function only used by #ifdef'd code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
48427b539f
commit
1cee779cec
@ -100,6 +100,7 @@ DSGraph *DSAA::getGraphForValue(const Value *V) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
// isSinglePhysicalObject - For now, the only case that we know that there is
|
// isSinglePhysicalObject - For now, the only case that we know that there is
|
||||||
// only one memory object in the node is when there is a single global in the
|
// only one memory object in the node is when there is a single global in the
|
||||||
// node, and the only composition bit set is Global.
|
// node, and the only composition bit set is Global.
|
||||||
@ -109,6 +110,7 @@ static bool isSinglePhysicalObject(DSNode *N) {
|
|||||||
return N->isGlobalNode() && N->getGlobals().size() == 1 &&
|
return N->isGlobalNode() && N->getGlobals().size() == 1 &&
|
||||||
!N->isHeapNode() && !N->isAllocaNode() && !N->isUnknownNode();
|
!N->isHeapNode() && !N->isAllocaNode() && !N->isUnknownNode();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// alias - This is the only method here that does anything interesting...
|
// alias - This is the only method here that does anything interesting...
|
||||||
AliasAnalysis::AliasResult DSAA::alias(const Value *V1, unsigned V1Size,
|
AliasAnalysis::AliasResult DSAA::alias(const Value *V1, unsigned V1Size,
|
||||||
|
Loading…
Reference in New Issue
Block a user