Eliminate 'dereference of null' CSA false warning in array_mark_proc
authorIvan Maidanski <ivmai@mail.ru>
Tue, 25 Oct 2016 21:56:02 +0000 (00:56 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 25 Oct 2016 21:56:02 +0000 (00:56 +0300)
commitb7bce91292aa6078ce36d09c7818a5cd30d8f7df
tree48bb6668b19f6b880b4ac0461a4d1f5de66a4815
parent85cc51a2a0466002bce91ced6021d5e2c7843899
Eliminate 'dereference of null' CSA false warning in array_mark_proc

The exact warning message is: Access to field 'mse_start' results in a
dereference of a null pointer (loaded from variable 'new_mark_stack_ptr').

Note: the warning is eliminated regardless of assertion checking status.

* typd_mlc.c (GC_array_mark_proc): Call ABORT if mark_stack_ptr is NULL
(thus orig_mark_stack_ptr is ensured to be non-NULL after the check).
typd_mlc.c