diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-08 18:44:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-08 18:44:31 +0000 |
commit | 087fcf3e89c2728b5fc850c587da4876319877ca (patch) | |
tree | ba5545dbfb714e242324b3ac9486509570e51b39 /lib | |
parent | 4bfba9da0afb00ea1cc7df764da03ed9ebb7676b (diff) |
do not export all the X86FastISel symbols, ever.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86FastISel.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp index e7b70b17ef..10359a74af 100644 --- a/lib/Target/X86/X86FastISel.cpp +++ b/lib/Target/X86/X86FastISel.cpp @@ -30,9 +30,10 @@ #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/Support/CallSite.h" #include "llvm/Support/GetElementPtrTypeIterator.h" - using namespace llvm; +namespace { + class X86FastISel : public FastISel { /// Subtarget - Keep a pointer to the X86Subtarget around so that we can /// make the right decision when generating code for different targets. @@ -136,6 +137,8 @@ private: bool isTypeLegal(const Type *Ty, MVT &VT, bool AllowI1 = false); }; + +} // end anonymous namespace. bool X86FastISel::isTypeLegal(const Type *Ty, MVT &VT, bool AllowI1) { VT = TLI.getValueType(Ty, /*HandleUnknown=*/true); |