contrib/gcc/cp/decl.c
/* Record one of the standard Java types.
 * Declare it as having the given NAME.
 * If SIZE > 0, it is the size of one of the integral types;
 * otherwise it is the negative of the size of one of the other types.  */
Record one of the standard Java types.
Declare it as having the given NAME.
If SIZE > 0, it is the size of one of the integral types;
otherwise it is the negative of the size of one of the other types.
Record one of the standard Java types . Declare it as having the given NAME . If SIZE > 0 it is the size of one of the integral types ; otherwise it is the negative of the size of one of the other types .
static tree
record_builtin_java_type (const char* name, int size)
{
  tree type, decl;
  if (size > 0)
    type = make_signed_type (size);
  else if (size > -32)
    { 
      type = make_unsigned_type (-size);
    }
  else
    { 
      type = make_node (REAL_TYPE);
      TYPE_PRECISION (type) = - size;
      layout_type (type);
    }
  record_builtin_type (RID_MAX, name, type);
  decl = TYPE_NAME (type);
  DECL_IGNORED_P (decl) = 1;
  TYPE_FOR_JAVA (type) = 1;
  return type;
}
static tree record_builtin_java_type ( const char * name , int size ) { tree type , decl ; if ( size > 0 ) type = make_signed_type ( size ) ; else if ( size > -32 ) { type = make_unsigned_type ( - size ) ; } else { type = make_node ( REAL_TYPE ) ; TYPE_PRECISION ( type ) = - size ; layout_type ( type ) ; } record_builtin_type ( RID_MAX , name , type ) ; decl = TYPE_NAME ( type ) ; DECL_IGNORED_P ( decl ) = 1 ; TYPE_FOR_JAVA ( type ) = 1 ; return type ; }
Record one of the standard Java types.
Record one of the standard Java types .
/* "__java_char" or ""__java_boolean".  */ /*if (size == -1)	TREE_SET_CODE (type, BOOLEAN_TYPE);*/ /* "__java_float" or ""__java_double".  */ /* Suppress generate debug symbol entries for these types,
     since for normal C++ they are just clutter.
     However, push_lang_context undoes this if extern "Java" is seen.  */