1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

Move RegsForValue to an anonymous namespace, since it is only used

in this file.

llvm-svn: 89675
This commit is contained in:
Dan Gohman 2009-11-23 17:46:23 +00:00
parent b0befa7c20
commit 4495850afb

View File

@ -68,7 +68,7 @@ LimitFPPrecision("limit-float-precision",
cl::location(LimitFloatPrecision),
cl::init(0));
namespace llvm {
namespace {
/// 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,
@ -78,7 +78,7 @@ namespace llvm {
/// have legal types, so each value may require one or more registers of some
/// legal type.
///
struct VISIBILITY_HIDDEN RegsForValue {
struct RegsForValue {
/// TLI - The TargetLowering object.
///
const TargetLowering *TLI;