diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetMachine.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index 447355e240..e8380f372d 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -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 |