* Cleaned up code:
authorMisha Brukman <brukman+llvm@gmail.com>
Mon, 22 Sep 2003 23:38:23 +0000 (23:38 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Mon, 22 Sep 2003 23:38:23 +0000 (23:38 +0000)
commit12c29d10bb5dc73b9c67dc63051c714b29de547d
tree41ed9371f7994fe92d7ad60ebe16b93bffaecdeb
parent2f00285b21f557b2ccd541cc6530a4334874ea9f
* Cleaned up code:
  - no more passing around a string pointer to set errors
  - no more returning booleans and checking for errors, we use C++ exceptions
* Broke functionality into 2 new classes, one reads from file, one from a stream
* Implemented lazy function streaming - the parser can read in a function at-a-time

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8671 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bytecode/Reader/ConstantReader.cpp
lib/Bytecode/Reader/Reader.cpp
lib/Bytecode/Reader/ReaderInternals.h
lib/Bytecode/Reader/ReaderWrappers.cpp [new file with mode: 0644]