finegrainify namespacification, fix 80col prob

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11445 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-02-14 06:00:36 +00:00
parent cc42d2c3cc
commit 300d0eda6f
5 changed files with 9 additions and 21 deletions

View File

@@ -26,7 +26,7 @@
#include "Support/CommandLine.h"
#include "Support/STLExtras.h"
namespace llvm {
using namespace llvm;
namespace {
cl::opt<bool>
@@ -253,12 +253,8 @@ int X86RegisterInfo::emitEpilogue(MachineFunction &MF,
return MBB.size() - oldSize;
}
} // End llvm namespace
#include "X86GenRegisterInfo.inc"
namespace llvm {
const TargetRegisterClass*
X86RegisterInfo::getRegClassForType(const Type* Ty) const {
switch (Ty->getPrimitiveID()) {
@@ -278,5 +274,3 @@ X86RegisterInfo::getRegClassForType(const Type* Ty) const {
case Type::DoubleTyID: return &RFPInstance;
}
}
} // End llvm namespace