summaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMConstantPoolValue.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-10-01 06:44:24 +0000
committerBill Wendling <isanbard@gmail.com>2011-10-01 06:44:24 +0000
commit029e93888d2ce07f4a81d2a927fd2e3cfe673afd (patch)
treea8147e8c2da90733e809c39f5745cf23c273612c /lib/Target/ARM/ARMConstantPoolValue.h
parentf2b76aae2beec4780c271984070ad15a07bd2d50 (diff)
downloadexternal_llvm-029e93888d2ce07f4a81d2a927fd2e3cfe673afd.zip
external_llvm-029e93888d2ce07f4a81d2a927fd2e3cfe673afd.tar.gz
external_llvm-029e93888d2ce07f4a81d2a927fd2e3cfe673afd.tar.bz2
Add a Create method that accepts 'kind' and 'pcadj' arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMConstantPoolValue.h')
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMConstantPoolValue.h b/lib/Target/ARM/ARMConstantPoolValue.h
index 5a61808..8c74d25 100644
--- a/lib/Target/ARM/ARMConstantPoolValue.h
+++ b/lib/Target/ARM/ARMConstantPoolValue.h
@@ -139,6 +139,9 @@ class ARMConstantPoolConstant : public ARMConstantPoolValue {
bool AddCurrentAddress);
public:
static ARMConstantPoolConstant *Create(const Constant *C, unsigned ID);
+ static ARMConstantPoolConstant *Create(const Constant *C, unsigned ID,
+ ARMCP::ARMCPKind Kind,
+ unsigned char PCAdj);
const GlobalValue *getGV() const;