summaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetJITInfo.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2008-10-30 23:44:39 +0000
committerJim Grosbach <grosbach@apple.com>2008-10-30 23:44:39 +0000
commit8fe95356dd487a79145ec07a9f46cd743b4c9bdd (patch)
tree2f0590c5312d4192211ed0512ba65c543ddd86f4 /include/llvm/Target/TargetJITInfo.h
parente53a5af96652567847508a3131863a9a186ada9b (diff)
downloadllvm-8fe95356dd487a79145ec07a9f46cd743b4c9bdd.tar.gz
llvm-8fe95356dd487a79145ec07a9f46cd743b4c9bdd.tar.bz2
llvm-8fe95356dd487a79145ec07a9f46cd743b4c9bdd.tar.xz
Revert errant deletion. The target needs to be able to specify that it doesn't want the generic constant pool to be emitted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetJITInfo.h')
-rw-r--r--include/llvm/Target/TargetJITInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetJITInfo.h b/include/llvm/Target/TargetJITInfo.h
index 142f0efbd3..09ef15eb49 100644
--- a/include/llvm/Target/TargetJITInfo.h
+++ b/include/llvm/Target/TargetJITInfo.h
@@ -107,6 +107,9 @@ namespace llvm {
// JIT to manage a GOT for it.
bool needsGOT() const { return useGOT; }
+ /// hasCustomConstantPool - Allows a target to specify that constant
+ /// pool address resolution is handled by the target.
+ virtual bool hasCustomConstantPool() const { return false; }
protected:
bool useGOT;
};