1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

- Rename two methods to give them more meaning

- Add read_float and read_double in preparation for a correct
  implementation of bytecode floating point support.

llvm-svn: 14764
This commit is contained in:
Reid Spencer 2004-07-11 17:24:05 +00:00
parent af6625347f
commit 1d6847c22e

View File

@ -223,10 +223,10 @@ protected:
Constant* ParseConstantValue(unsigned TypeID); Constant* ParseConstantValue(unsigned TypeID);
/// @brief Parse a block of types constants /// @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 /// @brief Parse a single type constant
const Type *ParseTypeConstant(); const Type *ParseType();
/// @brief Parse a string constants block /// @brief Parse a string constants block
void ParseStringConstants(unsigned NumEntries, ValueTable &Tab); void ParseStringConstants(unsigned NumEntries, ValueTable &Tab);
@ -439,6 +439,12 @@ private:
/// @brief Read a string /// @brief Read a string
inline std::string read_str(); 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 /// @brief Read an arbitrary data chunk of fixed length
inline void read_data(void *Ptr, void *End); inline void read_data(void *Ptr, void *End);