This function can be static

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4234 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-20 20:39:31 +00:00
parent d1f8d0abeb
commit e80fe61a72

View File

@ -394,7 +394,7 @@ DSGraph::~DSGraph() {
void DSGraph::dump() const { print(std::cerr); } void DSGraph::dump() const { print(std::cerr); }
DSNodeHandle copyHelper(const DSNodeHandle* fromNode, static DSNodeHandle copyHelper(const DSNodeHandle* fromNode,
std::map<const DSNode*, DSNode*> *NodeMap) { std::map<const DSNode*, DSNode*> *NodeMap) {
return DSNodeHandle((*NodeMap)[fromNode->getNode()], fromNode->getOffset()); return DSNodeHandle((*NodeMap)[fromNode->getNode()], fromNode->getOffset());
} }