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 | 61f3befdc82022e14b7ef65bb0a73fdcdc888d26 (patch) | |
tree | d4a19cdfff726ce9568c0a08dd35d87d7fa77b98 /llvm/lib/Analysis/DataStructure | |
parent | e965bd16bbe556c637a7aa2a4ea4379a66fbbd44 (diff) | |
download | bcm5719-llvm-61f3befdc82022e14b7ef65bb0a73fdcdc888d26.tar.gz bcm5719-llvm-61f3befdc82022e14b7ef65bb0a73fdcdc888d26.zip |
#ifdef out a function only used by #ifdef'd code.
llvm-svn: 20700
Diffstat (limited to 'llvm/lib/Analysis/DataStructure')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/DataStructureAA.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DataStructure/DataStructureAA.cpp b/llvm/lib/Analysis/DataStructure/DataStructureAA.cpp index f880b636dc1..0400e01d63a 100644 --- a/llvm/lib/Analysis/DataStructure/DataStructureAA.cpp +++ b/llvm/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, |