diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-20 02:14:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-20 02:14:15 +0000 |
commit | 1cee779cec967261a80e134e562bac6b8121de34 (patch) | |
tree | 6acca79d0d0002c46ce34a1b906f2cf70b899b7c /lib/Analysis/DataStructure/DataStructureAA.cpp | |
parent | 48427b539fc23267ff476a8137c765c11c3da92b (diff) |
#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
Diffstat (limited to 'lib/Analysis/DataStructure/DataStructureAA.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/DataStructureAA.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/DataStructureAA.cpp b/lib/Analysis/DataStructure/DataStructureAA.cpp index f880b636dc..0400e01d63 100644 --- a/lib/Analysis/DataStructure/DataStructureAA.cpp +++ b/lib/Analysis/DataStructure/DataStructureAA.cpp @@ -100,6 +100,7 @@ DSGraph *DSAA::getGraphForValue(const Value *V) { return 0; } +#if 0 // 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 // 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 && !N->isHeapNode() && !N->isAllocaNode() && !N->isUnknownNode(); } +#endif // alias - This is the only method here that does anything interesting... AliasAnalysis::AliasResult DSAA::alias(const Value *V1, unsigned V1Size, |