* int_encoding.cc (read_unsigned_LEB_128): Replaced with inline
commit00b16c2b628308a8766da2698f13eb77e1d1b424
authorCary Coutant <ccoutant@google.com>
Wed, 25 Jan 2012 07:34:54 +0000 (25 07:34 +0000)
committerCary Coutant <ccoutant@google.com>
Wed, 25 Jan 2012 07:34:54 +0000 (25 07:34 +0000)
tree68a7f8b03cfa4141a278956160fcc5bc3f5c7304
parentd71771557a083432445155ee381ca48b02d9b033
* int_encoding.cc (read_unsigned_LEB_128): Replaced with inline
definition and ...
(read_unsigned_LEB_128_x): ... this new function.
(read_signed_LEB_128): Replaced with inline definition and ...
(read_signed_LEB_128_x): ... this new function.
* int_encoding.h  (read_unsigned_LEB_128_x): New function.
(read_unsigned_LEB_128): Add inline definition.
(read_signed_LEB_128_x): New function.
(read_signed_LEB_128): Add inline definition.
* testsuite/Makefile.am (leb128_unittest): New unit test.
* testsuite/Makefile.in: Regenerate.
* testsuite/leb128_unittest.cc: New unit test.
gold/ChangeLog
gold/int_encoding.cc
gold/int_encoding.h
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/leb128_unittest.cc [new file with mode: 0644]