diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-10-01 06:44:24 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-10-01 06:44:24 +0000 |
commit | 029e93888d2ce07f4a81d2a927fd2e3cfe673afd (patch) | |
tree | a8147e8c2da90733e809c39f5745cf23c273612c /lib/Target/ARM/ARMConstantPoolValue.h | |
parent | f2b76aae2beec4780c271984070ad15a07bd2d50 (diff) |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMConstantPoolValue.h b/lib/Target/ARM/ARMConstantPoolValue.h index 5a6180830b..8c74d25ffc 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; |