diff options
Diffstat (limited to 'lib/Target/X86/InstSelectPattern.cpp')
-rw-r--r-- | lib/Target/X86/InstSelectPattern.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Target/X86/InstSelectPattern.cpp b/lib/Target/X86/InstSelectPattern.cpp index e518294564..a09d104d41 100644 --- a/lib/Target/X86/InstSelectPattern.cpp +++ b/lib/Target/X86/InstSelectPattern.cpp @@ -27,8 +27,7 @@ // Include the generated instruction selector... #include "X86GenInstrSelector.inc" - -namespace llvm { +using namespace llvm; namespace { struct ISel : public FunctionPass, SelectionDAGTargetBuilder { @@ -120,8 +119,7 @@ void ISel::expandCall(SelectionDAG &SD, CallInst &CI) { /// into a machine code representation using pattern matching and a machine /// description file. /// -FunctionPass *createX86PatternInstructionSelector(TargetMachine &TM) { +FunctionPass *llvm::createX86PatternInstructionSelector(TargetMachine &TM, + IntrinsicLowering &IL) { return new ISel(TM); } - -} // End llvm namespace |