Remove redundant test for Prolog built-in predicates in the compiler second pass