diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-09-19 20:30:26 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-09-19 20:30:26 +0000 |
commit | c332fba8285e35a5a11463c34795af84f3960759 (patch) | |
tree | 6f13654fe13746b91469913b6d1e9536c10a37e9 /include | |
parent | cea1438cf59c7cd3a632d61d78e68589315510d3 (diff) | |
download | llvm-c332fba8285e35a5a11463c34795af84f3960759.tar.gz llvm-c332fba8285e35a5a11463c34795af84f3960759.tar.bz2 llvm-c332fba8285e35a5a11463c34795af84f3960759.tar.xz |
Remove the default value for ConstantStruct::get's isPacked parameter and
update the code which was broken by this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82327 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Constants.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index 86d14912a4..90cf55daac 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -415,11 +415,11 @@ public: // ConstantStruct accessors static Constant* get(const StructType* T, const std::vector<Constant*>& V); static Constant* get(LLVMContext &Context, - const std::vector<Constant*>& V, bool Packed = false); + const std::vector<Constant*>& V, bool Packed); static Constant* get(LLVMContext &Context, Constant* const *Vals, unsigned NumVals, - bool Packed = false); - + bool Packed); + /// Transparently provide more efficient getOperand methods. DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant); |