aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetJITInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-11-10 01:08:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-11-10 01:08:07 +0000
commit9ed2f80910160bbf8051d91cd74c82d4619885b4 (patch)
treecf7ecb5e996d39b61ad273edb0a6055c6a22c3dd /include/llvm/Target/TargetJITInfo.h
parent8f24cc237fed73df977ea93f1f12344ca57a65c6 (diff)
downloadexternal_llvm-9ed2f80910160bbf8051d91cd74c82d4619885b4.zip
external_llvm-9ed2f80910160bbf8051d91cd74c82d4619885b4.tar.gz
external_llvm-9ed2f80910160bbf8051d91cd74c82d4619885b4.tar.bz2
Rename isGVNonLazyPtr to isIndirectSym to reflect how it will be used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetJITInfo.h')
-rw-r--r--include/llvm/Target/TargetJITInfo.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/Target/TargetJITInfo.h b/include/llvm/Target/TargetJITInfo.h
index 45aae06..0ae2416 100644
--- a/include/llvm/Target/TargetJITInfo.h
+++ b/include/llvm/Target/TargetJITInfo.h
@@ -40,12 +40,12 @@ namespace llvm {
///
virtual void replaceMachineCodeForFunction(void *Old, void *New) = 0;
- /// emitGlobalValueNonLazyPtr - Use the specified MachineCodeEmitter object
- /// to emit a Mac OS X non-lazy pointer which contains the address of the
- /// specified ptr.
- virtual void *emitGlobalValueNonLazyPtr(const GlobalValue* GV, void *ptr,
- MachineCodeEmitter &MCE) {
- assert(0 && "This target doesn't implement emitGlobalValueNonLazyPtr!");
+ /// emitGlobalValueIndirectSym - Use the specified MachineCodeEmitter object
+ /// to emit an indirect symbol which contains the address of the specified
+ /// ptr.
+ virtual void *emitGlobalValueIndirectSym(const GlobalValue* GV, void *ptr,
+ MachineCodeEmitter &MCE) {
+ assert(0 && "This target doesn't implement emitGlobalValueIndirectSym!");
return 0;
}