diff options
| author | Dan Gohman <gohman@apple.com> | 2009-11-23 17:46:23 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-11-23 17:46:23 +0000 |
| commit | 91aad4b83405747086eb665ca6570de7cd8cacf6 (patch) | |
| tree | 7dbb0a79014a006538a5bd8e4898560eee18d507 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
| parent | ad97b3dbd0a88f4d4006fc4ba2144ba45f25a105 (diff) | |
| download | bcm5719-llvm-91aad4b83405747086eb665ca6570de7cd8cacf6.tar.gz bcm5719-llvm-91aad4b83405747086eb665ca6570de7cd8cacf6.zip | |
Move RegsForValue to an anonymous namespace, since it is only used
in this file.
llvm-svn: 89675
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp index 124745d89c6..cb6be3fc525 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp @@ -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; |

