Add stub version of replaceMachineCodeForFunction. It will live here until

we have a better place for it to go.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2003-10-17 18:26:45 +00:00
parent 578b68cc47
commit 5358bc39c1

View File

@ -98,6 +98,14 @@ public:
MachineCodeEmitter &MCE) {
return true;
}
/// replaceMachineCodeForFunction - Make it so that calling the
/// function whose machine code is at OLD turns into a call to NEW. Returns
/// true iff an error occurred. FIXME: this is JIT-specific.
///
virtual bool replaceMachineCodeForFunction (void *Old, void *New) {
return true;
}
};
#endif