B2G/gecko/xpcom/analysis/outparams.js
/** Return the return value coding of the given function. This is a pair
 *  [ succ, fail ] giving the abstract values of the return value under
 *  success and failure conditions. */
Return the return value coding of the given function. This is a pair
[ succ, fail ] giving the abstract values of the return value under
success and failure conditions.
Return the return value coding of the given function . This is a pair [ succ fail ] giving the abstract values of the return value under success and failure conditions .
function ret_coding(callable) {
  let type = TREE_TYPE(callable);
  if (TREE_CODE(type) == POINTER_TYPE) type = TREE_TYPE(type);
  let rtname = TYPE_NAME(TREE_TYPE(type));
  if (rtname && IDENTIFIER_POINTER(DECL_NAME(rtname)) == 'PRBool') {
    return [ av.NONZERO, av.ZERO ];
  } else {
    return [ av.ZERO, av.NONZERO ];
  }
}
function ret_coding ( callable ) { let type = TREE_TYPE ( callable ) ; if ( TREE_CODE ( type ) == POINTER_TYPE ) type = TREE_TYPE ( type ) ; let rtname = TYPE_NAME ( TREE_TYPE ( type ) ) ; if ( rtname && IDENTIFIER_POINTER ( DECL_NAME ( rtname ) ) == 'PRBool' ) { return [ av . NONZERO , av . ZERO ] ; } else { return [ av . ZERO , av . NONZERO ] ; } }
Return the return value coding of the given function.
Return the return value coding of the given function .