mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add hook for JIT compiler
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4411 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
33f53b554a
commit
5c1b5244b9
@ -78,6 +78,12 @@ public:
|
||||
///
|
||||
virtual void addPassesToEmitAssembly(PassManager &PM, std::ostream &Out) = 0;
|
||||
|
||||
/// addPassesToJITCompile - Add passes to the specified pass manager to
|
||||
/// implement a fast dynamic compiler for this target. Return true if this is
|
||||
/// not supported for this target.
|
||||
///
|
||||
virtual bool addPassesToJITCompile(PassManager &PM) { return true; }
|
||||
|
||||
/// getPrologEpilogCodeInserter - Create pass to insert prolog/epilog code.
|
||||
///
|
||||
virtual Pass* getPrologEpilogInsertionPass() = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user