mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +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:
parent
7f3df4150c
commit
9a7871bd3d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user