Convert more code to use Operator instead of explicitly handling both
[oota-llvm.git] / lib / ExecutionEngine / Interpreter / Interpreter.cpp
index ac0ee3fb49ca4b09258de79f2e80ea92f1c460e1..902f6768dc8ab7c906bd1fd755c2f094765ccd2b 100644 (file)
@@ -29,15 +29,13 @@ static struct RegisterInterp {
 
 }
 
-namespace llvm {
-  void LinkInInterpreter() {
-  }
-}
+extern "C" void LLVMLinkInInterpreter() { }
 
 /// create - Create a new interpreter object.  This can never fail.
 ///
 ExecutionEngine *Interpreter::create(ModuleProvider *MP, std::string* ErrStr,
-                                     bool Fast /*unused*/) {
+                                     CodeGenOpt::Level OptLevel, /*unused*/
+                                     bool GVsWithCode /* unused */) {
   // Tell this ModuleProvide to materialize and release the module
   if (!MP->materializeModule(ErrStr))
     // We got an error, just return 0
@@ -101,4 +99,3 @@ Interpreter::runFunction(Function *F,
 
   return ExitValue;
 }
-