fixed an incorrect condition in PRVO#replaceByLiteral