fixed an incorrect condition in PRVO#replaceByLiterals