summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/Reader.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-09 06:14:31 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-09 06:14:31 +0000
commit52796e819fa3dd61f9513c71a94433ee7ba35a76 (patch)
tree5ff7574c576b36517c873af820b370d726ba1296 /llvm/lib/Bytecode/Reader/Reader.h
parente76289b8eacea3a13ba5bfc29c562f16ee947e3e (diff)
downloadbcm5719-llvm-52796e819fa3dd61f9513c71a94433ee7ba35a76.tar.gz
bcm5719-llvm-52796e819fa3dd61f9513c71a94433ee7ba35a76.zip
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. llvm-svn: 35811
Diffstat (limited to 'llvm/lib/Bytecode/Reader/Reader.h')
-rw-r--r--llvm/lib/Bytecode/Reader/Reader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Bytecode/Reader/Reader.h b/llvm/lib/Bytecode/Reader/Reader.h
index 8da286b6ccc..c852cce6bab 100644
--- a/llvm/lib/Bytecode/Reader/Reader.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud