mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Optimizing MCJIT module state tracking
Patch co-developed with Yaron Keren. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193291 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -215,7 +215,7 @@ public:
|
||||
/// FindFunctionNamed - Search all of the active modules to find the one that
|
||||
/// defines FnName. This is very slow operation and shouldn't be used for
|
||||
/// general code.
|
||||
Function *FindFunctionNamed(const char *FnName);
|
||||
virtual Function *FindFunctionNamed(const char *FnName);
|
||||
|
||||
/// runFunction - Execute the specified function with the specified arguments,
|
||||
/// and return the result.
|
||||
@ -232,6 +232,9 @@ public:
|
||||
///
|
||||
/// This function is deprecated for the MCJIT execution engine.
|
||||
///
|
||||
/// FIXME: the JIT and MCJIT interfaces should be disentangled or united
|
||||
/// again, if possible.
|
||||
///
|
||||
virtual void *getPointerToNamedFunction(const std::string &Name,
|
||||
bool AbortOnFailure = true) = 0;
|
||||
|
||||
@ -275,7 +278,7 @@ public:
|
||||
/// the static constructors or destructors for a program.
|
||||
///
|
||||
/// \param isDtors - Run the destructors instead of constructors.
|
||||
void runStaticConstructorsDestructors(bool isDtors);
|
||||
virtual void runStaticConstructorsDestructors(bool isDtors);
|
||||
|
||||
/// runStaticConstructorsDestructors - This method is used to execute all of
|
||||
/// the static constructors or destructors for a particular module.
|
||||
|
Reference in New Issue
Block a user