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:
Chris Lattner 2002-10-29 20:51:10 +00:00
parent 33f53b554a
commit 5c1b5244b9

View File

@ -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;