Put RegsForValue in the llvm namespace to avoid warnings about

classes in the llvm namespace having members with types from
anonymous namespaces.

llvm-svn: 55747
This commit is contained in:
Dan Gohman 2008-09-03 23:18:39 +00:00
parent 7bda51f5a4
commit 45df9951f5
1 changed files with 1 additions and 1 deletions

View File

@ -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,