Fixed stub processing for DCE removed classes.

--HG--
extra : amend_source : 9d9193c42670444828a3b74f6c6fc15e713b6213