Changes in directory llvm/include/llvm/ExecutionEngine:
ExecutionEngine.h updated: 1.42 -> 1.43 --- Log message: Make the creation functions take an error string. This will help the ExecutionEngine report errors on creation (like bytecode stuff) and also help to get rid of exception handling. --- Diffs of the changes: (+3 -2) ExecutionEngine.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/include/llvm/ExecutionEngine/ExecutionEngine.h diff -u llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.42 llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.43 --- llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.42 Sat Mar 3 02:35:14 2007 +++ llvm/include/llvm/ExecutionEngine/ExecutionEngine.h Sat Mar 3 12:18:11 2007 @@ -76,7 +76,7 @@ // To avoid having libexecutionengine depend on the JIT and interpreter // libraries, the JIT and Interpreter set these functions to ctor pointers // at startup time if they are linked in. - typedef ExecutionEngine *(*EECtorFn)(ModuleProvider*); + typedef ExecutionEngine *(*EECtorFn)(ModuleProvider*, std::string*); static EECtorFn JITCtor, InterpCtor; public: @@ -106,7 +106,8 @@ /// create - This is the factory method for creating an execution engine which /// is appropriate for the current machine. static ExecutionEngine *create(ModuleProvider *MP, - bool ForceInterpreter = false); + bool ForceInterpreter = false, + std::string *ErrorStr = 0); /// runFunction - Execute the specified function with the specified arguments, /// and return the result. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits