diff options
author | Dan Gohman <gohman@apple.com> | 2008-09-03 23:18:39 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-09-03 23:18:39 +0000 |
commit | 2a7c671e2eb93e316f1214b1f5ea0f2dfa072943 (patch) | |
tree | 3bff3f58af1413be87c0d5e602ac9650de4f0603 /lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
parent | 3df24e667f04a7003342b534310919abc9c87418 (diff) |
Put RegsForValue in the llvm namespace to avoid warnings about
classes in the llvm namespace having members with types from
anonymous namespaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55747 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 3bbcdc99b5..70bf549dcc 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -121,7 +121,7 @@ static void ComputeValueVTs(const TargetLowering &TLI, const Type *Ty, Offsets->push_back(StartingOffset); } -namespace { +namespace llvm { /// RegsForValue - This struct represents the registers (physical or virtual) /// that a particular set of values is assigned, and the type information about /// the value. The most common situation is to represent one value at a time, |