commit | 7969dc2beca333e556b533053a94777169ffaa98 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Jan 15 06:13:09 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Jan 15 06:13:09 2004 +0000 |
tree | 7bc16347bb7f22e61c460de4f8c9f3499d053978 | |
parent | c8434e3d71105e2e908c7b07fc190a74c6b2ddf0 [diff] |
Change all of the bytecode reader primitives to throw exceptions instead of returning error codes. Because they don't return an error code, they can return the value read, which simplifies the code and makes the reader more efficient (yaay!). Also eliminate the special case code for little endian machines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10871 91177308-0d34-0410-b5e6-96231b3b80d8