commit | b35798347ea87b8b6d36155b211016a7769f01ab | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Apr 15 17:08:50 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Apr 15 17:08:50 2010 +0000 |
tree | bdf2ae210bf2fd57d31bf92e1a3d89a631ab3d58 | |
parent | 098406b42ca7cd05745215020ae5ed82194b7c0a [diff] [blame] |
Fix a bunch of namespace polution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101376 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index d320b65..7a4a4f9 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -1881,6 +1881,7 @@ } } +namespace { struct MatchScope { /// FailIndex - If this match fails, this is the index to continue with. @@ -1902,6 +1903,8 @@ bool HasChainNodesMatched, HasFlagResultNodesMatched; }; +} + SDNode *SelectionDAGISel:: SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable, unsigned TableSize) {