diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-10-17 18:26:45 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-10-17 18:26:45 +0000 |
commit | 5358bc39c11868390fd444a04149d6964f8fdc62 (patch) | |
tree | 0e9ba2237967156c99cb7b4a9729209ed1d00552 /include/llvm/Target/TargetMachine.h | |
parent | 578b68cc473f0b4b80098d26a5bcee12ccf6a4e9 (diff) | |
download | external_llvm-5358bc39c11868390fd444a04149d6964f8fdc62.zip external_llvm-5358bc39c11868390fd444a04149d6964f8fdc62.tar.gz external_llvm-5358bc39c11868390fd444a04149d6964f8fdc62.tar.bz2 |
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
Diffstat (limited to 'include/llvm/Target/TargetMachine.h')
-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 447355e..e8380f3 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 |