diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-06-12 05:20:12 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-06-12 05:20:12 +0000 |
commit | f7e498138f2f15b9391274d0c062fa62ab2e86fc (patch) | |
tree | 01170237089d700844b43d2d695218602b262ca6 /lib/Bitcode/Writer/ValueEnumerator.h | |
parent | 084f7bf8a741fdeb97bf7f2a1befd11758f504e7 (diff) | |
download | llvm-f7e498138f2f15b9391274d0c062fa62ab2e86fc.tar.gz llvm-f7e498138f2f15b9391274d0c062fa62ab2e86fc.tar.bz2 llvm-f7e498138f2f15b9391274d0c062fa62ab2e86fc.tar.xz |
Don't remove aggregate-typed module level constants before encoding functions
since functions may contain aggregate constants too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73220 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/ValueEnumerator.h')
-rw-r--r-- | lib/Bitcode/Writer/ValueEnumerator.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Bitcode/Writer/ValueEnumerator.h b/lib/Bitcode/Writer/ValueEnumerator.h index bb0324b1c5..40eeabb2b6 100644 --- a/lib/Bitcode/Writer/ValueEnumerator.h +++ b/lib/Bitcode/Writer/ValueEnumerator.h @@ -99,11 +99,6 @@ public: return Attributes; } - /// PurgeAggregateValues - If there are any aggregate values at the end of the - /// value list, remove them and return the count of the remaining values. If - /// there are none, return -1. - int PurgeAggregateValues(); - /// incorporateFunction/purgeFunction - If you'd like to deal with a function, /// use these two methods to get its data into the ValueEnumerator! /// |