diff --git a/llvm/lib/Bytecode/Reader/Reader.h b/llvm/lib/Bytecode/Reader/Reader.h index 79dbc519e1e7..89ab0a59b941 100644 --- a/llvm/lib/Bytecode/Reader/Reader.h +++ b/llvm/lib/Bytecode/Reader/Reader.h @@ -223,10 +223,10 @@ protected: Constant* ParseConstantValue(unsigned TypeID); /// @brief Parse a block of types constants - void ParseTypeConstants(TypeListTy &Tab, unsigned NumEntries); + void ParseTypes(TypeListTy &Tab, unsigned NumEntries); /// @brief Parse a single type constant - const Type *ParseTypeConstant(); + const Type *ParseType(); /// @brief Parse a string constants block void ParseStringConstants(unsigned NumEntries, ValueTable &Tab); @@ -439,6 +439,12 @@ private: /// @brief Read a string inline std::string read_str(); + /// @brief Read a float value + inline void read_float(float& FloatVal); + + /// @brief Read a double value + inline void read_double(double& DoubleVal); + /// @brief Read an arbitrary data chunk of fixed length inline void read_data(void *Ptr, void *End);