Pass extra arguments around n stuph


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10631 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index f219b6e..eae891b 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -78,7 +78,8 @@
 
   // Allocate target machine.  First, check whether the user has
   // explicitly specified an architecture to compile for.
-  TargetMachine* (*TargetMachineAllocator)(const Module&) = 0;
+  TargetMachine* (*TargetMachineAllocator)(const Module&,
+                                           IntrinsicLowering *) = 0;
   switch (Arch) {
   case x86:
     TargetMachineAllocator = allocateX86TargetMachine;
@@ -112,7 +113,7 @@
     } 
     break;
   }
-  std::auto_ptr<TargetMachine> target(TargetMachineAllocator(mod));
+  std::auto_ptr<TargetMachine> target(TargetMachineAllocator(mod, 0));
   assert(target.get() && "Could not allocate target machine!");
   TargetMachine &Target = *target.get();
   const TargetData &TD = Target.getTargetData();