diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-09 06:14:31 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-09 06:14:31 +0000 |
commit | 91ac04aa86129b1017f04bd0a361b293f0562614 (patch) | |
tree | 49c0b22892665a2321a18456b0e7ca572ebde6e1 /lib/Bytecode/Reader/Reader.h | |
parent | 8129a3921e970a546c8108290dcfa10e050e71f0 (diff) |
For PR1146:
Use ParamAttrsList for writing parameter attributes. Since they are sparse
now, we also write them sparsely (saves a few bytes). Unfortunately, this
is a bytecode file format change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35811 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/Reader.h')
-rw-r--r-- | lib/Bytecode/Reader/Reader.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Bytecode/Reader/Reader.h b/lib/Bytecode/Reader/Reader.h index 8da286b6cc..c852cce6ba 100644 --- a/lib/Bytecode/Reader/Reader.h +++ b/lib/Bytecode/Reader/Reader.h @@ -236,6 +236,7 @@ protected: /// @brief Parse global types void ParseGlobalTypes(); + /// @brief Parse a basic block (for LLVM 1.0 basic block blocks) BasicBlock* ParseBasicBlock(unsigned BlockNo); @@ -264,6 +265,9 @@ protected: /// @brief Parse a single type constant const Type *ParseType(); + /// @brief Parse a list of parameter attributes + ParamAttrsList *ParseParamAttrsList(); + /// @brief Parse a string constants block void ParseStringConstants(unsigned NumEntries, ValueTable &Tab); |