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();
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp
index 518c1a1..15bf500 100644
--- a/tools/lli/lli.cpp
+++ b/tools/lli/lli.cpp
@@ -57,8 +57,7 @@
     exit(1);
   }
 
-  ExecutionEngine *EE =
-    ExecutionEngine::create(MP, ForceInterpreter);
+  ExecutionEngine *EE = ExecutionEngine::create(MP, ForceInterpreter);
   assert(EE && "Couldn't create an ExecutionEngine, not even an interpreter?");
 
   // If the user specifically requested an argv[0] to pass into the program, do