* check for empty procedures after helper test so even empty helper methods cannot be called directly
* don't remove calls to subroutines taking arrays of const

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@23302 3ad0048d-3df7-0310-abae-a5850022a9f2
* check if current_procinfo is assigned in paramanager code to avoid crashes

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@23303 3ad0048d-3df7-0310-abae-a5850022a9f2