mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Add a convenience method for creating EE's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43206 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -108,11 +108,17 @@ public:
|
||||
Function *FindFunctionNamed(const char *FnName);
|
||||
|
||||
/// create - This is the factory method for creating an execution engine which
|
||||
/// is appropriate for the current machine.
|
||||
/// is appropriate for the current machine. This takes ownership of the
|
||||
/// module provider.
|
||||
static ExecutionEngine *create(ModuleProvider *MP,
|
||||
bool ForceInterpreter = false,
|
||||
std::string *ErrorStr = 0);
|
||||
|
||||
/// create - This is the factory method for creating an execution engine which
|
||||
/// is appropriate for the current machine. This takes ownership of the
|
||||
/// module.
|
||||
static ExecutionEngine *create(Module *M);
|
||||
|
||||
/// runFunction - Execute the specified function with the specified arguments,
|
||||
/// and return the result.
|
||||
///
|
||||
|
Reference in New Issue
Block a user