diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-20 20:39:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-20 20:39:31 +0000 |
commit | e80fe61a72b974c423f0754990d81eb607891c46 (patch) | |
tree | 77acdd56a4174f33d6d60db7a0f9018fe396a157 /lib/Analysis/DataStructure | |
parent | d1f8d0abeba725421efb463df6e5fd04bc4ffd9d (diff) |
This function can be static
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure')
-rw-r--r-- | lib/Analysis/DataStructure/DataStructure.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp index ecfed8dd68..3a55c5420b 100644 --- a/lib/Analysis/DataStructure/DataStructure.cpp +++ b/lib/Analysis/DataStructure/DataStructure.cpp @@ -394,8 +394,8 @@ DSGraph::~DSGraph() { void DSGraph::dump() const { print(std::cerr); } -DSNodeHandle copyHelper(const DSNodeHandle* fromNode, - std::map<const DSNode*, DSNode*> *NodeMap) { +static DSNodeHandle copyHelper(const DSNodeHandle* fromNode, + std::map<const DSNode*, DSNode*> *NodeMap) { return DSNodeHandle((*NodeMap)[fromNode->getNode()], fromNode->getOffset()); } |