Fix the YAP adapter file for recent changes to internal compiler predicates