* int_encoding.cc (read_unsigned_LEB_128): Replaced with inline
authorCary Coutant <ccoutant@google.com>
Wed, 25 Jan 2012 07:34:55 +0000 (07:34 +0000)
committerCary Coutant <ccoutant@google.com>
Wed, 25 Jan 2012 07:34:55 +0000 (07:34 +0000)
commitc2c7840a42aaab8354bb1997d141149d30316603
treed9314a7c096f70d4c290eb753c80bf372498901d
parent21abe33a9bdebefa7f917bcc99e946eb464cc67f
* 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]