[Darwin, machopic 9/n] Minor code clean-ups.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 14 Oct 2019 19:18:34 +0000 (19:18 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Mon, 14 Oct 2019 19:18:34 +0000 (19:18 +0000)
commit10aabe339a9eec4e81fbc56cacad7b532b33d20c
treed8ab9e4b04ab77f54f84a5a831ff9147a9cb3eca
parent2dccdbcff61201656cf1b37cd690ad6c3f7db8ad
[Darwin, machopic 9/n] Minor code clean-ups.

Improve some comments, replace some asserts that have been in the code
base for years with checking-asserts.

gcc/ChangeLog:

2019-10-14  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.c: Use unsigned ints for the picbase label
counters, initialise the vars explicitly.
(update_pic_label_number_if_needed): Move a variable declaration
to where it's needed.
(machopic_output_function_base_name): Use a more strict checking
assert, and and unsigned int for the picbase label counter.
(machopic_get_function_picbase): Likewise.

From-SVN: r276967
gcc/ChangeLog
gcc/config/darwin.c