mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 19:24:33 +00:00
Add prototype for replaceMachineCodeForFunction().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9202 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -677,6 +677,7 @@ public:
|
|||||||
virtual bool addPassesToJITCompile(FunctionPassManager &PM);
|
virtual bool addPassesToJITCompile(FunctionPassManager &PM);
|
||||||
virtual bool addPassesToEmitMachineCode(FunctionPassManager &PM,
|
virtual bool addPassesToEmitMachineCode(FunctionPassManager &PM,
|
||||||
MachineCodeEmitter &MCE);
|
MachineCodeEmitter &MCE);
|
||||||
|
virtual bool replaceMachineCodeForFunction(void *Old, void *New);
|
||||||
|
|
||||||
// getPrologEpilogInsertionPass - Inserts prolog/epilog code.
|
// getPrologEpilogInsertionPass - Inserts prolog/epilog code.
|
||||||
FunctionPass* getPrologEpilogInsertionPass();
|
FunctionPass* getPrologEpilogInsertionPass();
|
||||||
|
@@ -44,6 +44,8 @@ public:
|
|||||||
MachineCodeEmitter &MCE);
|
MachineCodeEmitter &MCE);
|
||||||
|
|
||||||
virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
|
virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
|
||||||
|
|
||||||
|
virtual bool replaceMachineCodeForFunction (void *Old, void *New);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user