Add stub version of replaceMachineCodeForFunction. It will live here until

we have a better place for it to go.

llvm-svn: 9197
This commit is contained in:
Brian Gaeke 2003-10-17 18:26:45 +00:00
parent 7157eed00f
commit fc52099b3c

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