OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [stub-objc.c] - Diff between revs 154 and 816

Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
/* Stub functions for Objective-C and Objective-C++ routines
/* Stub functions for Objective-C and Objective-C++ routines
   that are called from within the C and C++ front-ends,
   that are called from within the C and C++ front-ends,
   respectively.
   respectively.
   Copyright (C) 1991, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
   Copyright (C) 1991, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
   2004, 2005, 2007  Free Software Foundation, Inc.
   2004, 2005, 2007  Free Software Foundation, Inc.
 
 
This file is part of GCC.
This file is part of GCC.
 
 
GCC is free software; you can redistribute it and/or modify it under
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
Software Foundation; either version 3, or (at your option) any later
version.
version.
 
 
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.
for more details.
 
 
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.  */
<http://www.gnu.org/licenses/>.  */
 
 
#include "config.h"
#include "config.h"
#include "system.h"
#include "system.h"
#include "coretypes.h"
#include "coretypes.h"
#include "tree.h"
#include "tree.h"
#include "c-common.h"
#include "c-common.h"
 
 
tree
tree
objc_is_class_name (tree ARG_UNUSED (arg))
objc_is_class_name (tree ARG_UNUSED (arg))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_is_id (tree ARG_UNUSED (arg))
objc_is_id (tree ARG_UNUSED (arg))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_is_object_ptr (tree ARG_UNUSED (arg))
objc_is_object_ptr (tree ARG_UNUSED (arg))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_lookup_ivar (tree other, tree ARG_UNUSED (arg))
objc_lookup_ivar (tree other, tree ARG_UNUSED (arg))
{
{
  /* Just use whatever C/C++ found.  */
  /* Just use whatever C/C++ found.  */
  return other;
  return other;
}
}
 
 
void
void
objc_check_decl (tree ARG_UNUSED (decl))
objc_check_decl (tree ARG_UNUSED (decl))
{
{
}
}
 
 
int
int
objc_is_reserved_word (tree ARG_UNUSED (ident))
objc_is_reserved_word (tree ARG_UNUSED (ident))
{
{
  return 0;
  return 0;
}
}
 
 
bool
bool
objc_compare_types (tree ARG_UNUSED (ltyp), tree ARG_UNUSED (rtyp),
objc_compare_types (tree ARG_UNUSED (ltyp), tree ARG_UNUSED (rtyp),
                    int ARG_UNUSED (argno), tree ARG_UNUSED (callee))
                    int ARG_UNUSED (argno), tree ARG_UNUSED (callee))
{
{
  return false;
  return false;
}
}
 
 
void
void
objc_volatilize_decl (tree ARG_UNUSED (decl))
objc_volatilize_decl (tree ARG_UNUSED (decl))
{
{
}
}
 
 
bool
bool
objc_type_quals_match (tree ARG_UNUSED (ltyp), tree ARG_UNUSED (rtyp))
objc_type_quals_match (tree ARG_UNUSED (ltyp), tree ARG_UNUSED (rtyp))
{
{
  return false;
  return false;
}
}
 
 
tree
tree
objc_rewrite_function_call (tree function, tree ARG_UNUSED (params))
objc_rewrite_function_call (tree function, tree ARG_UNUSED (params))
{
{
  return function;
  return function;
}
}
 
 
tree
tree
objc_message_selector (void)
objc_message_selector (void)
{
{
  return 0;
  return 0;
}
}
 
 
void
void
objc_declare_alias (tree ARG_UNUSED (alias), tree ARG_UNUSED (orig))
objc_declare_alias (tree ARG_UNUSED (alias), tree ARG_UNUSED (orig))
{
{
}
}
 
 
void
void
objc_declare_class (tree ARG_UNUSED (list))
objc_declare_class (tree ARG_UNUSED (list))
{
{
}
}
 
 
void
void
objc_declare_protocols (tree ARG_UNUSED (list))
objc_declare_protocols (tree ARG_UNUSED (list))
{
{
}
}
 
 
void
void
objc_start_protocol (tree ARG_UNUSED (proto),
objc_start_protocol (tree ARG_UNUSED (proto),
                     tree ARG_UNUSED (protorefs))
                     tree ARG_UNUSED (protorefs))
{
{
}
}
 
 
void
void
objc_start_class_interface (tree ARG_UNUSED (name),
objc_start_class_interface (tree ARG_UNUSED (name),
                            tree ARG_UNUSED (super),
                            tree ARG_UNUSED (super),
                            tree ARG_UNUSED (protos))
                            tree ARG_UNUSED (protos))
{
{
}
}
 
 
void
void
objc_start_category_interface (tree ARG_UNUSED (name),
objc_start_category_interface (tree ARG_UNUSED (name),
                               tree ARG_UNUSED (categ),
                               tree ARG_UNUSED (categ),
                               tree ARG_UNUSED (protos))
                               tree ARG_UNUSED (protos))
{
{
}
}
 
 
void
void
objc_continue_interface (void)
objc_continue_interface (void)
{
{
}
}
 
 
void
void
objc_finish_interface (void)
objc_finish_interface (void)
{
{
}
}
 
 
void
void
objc_add_instance_variable (tree ARG_UNUSED (decl))
objc_add_instance_variable (tree ARG_UNUSED (decl))
{
{
}
}
 
 
void
void
objc_set_visibility (int ARG_UNUSED (vis))
objc_set_visibility (int ARG_UNUSED (vis))
{
{
}
}
 
 
void
void
objc_set_method_type (enum tree_code ARG_UNUSED (code))
objc_set_method_type (enum tree_code ARG_UNUSED (code))
{
{
}
}
 
 
void
void
objc_start_class_implementation (tree ARG_UNUSED (name),
objc_start_class_implementation (tree ARG_UNUSED (name),
                                 tree ARG_UNUSED (super))
                                 tree ARG_UNUSED (super))
{
{
}
}
 
 
void
void
objc_start_category_implementation (tree ARG_UNUSED (name),
objc_start_category_implementation (tree ARG_UNUSED (name),
                                    tree ARG_UNUSED (categ))
                                    tree ARG_UNUSED (categ))
{
{
}
}
 
 
void
void
objc_continue_implementation (void)
objc_continue_implementation (void)
{
{
}
}
 
 
void
void
objc_clear_super_receiver (void)
objc_clear_super_receiver (void)
{
{
}
}
 
 
void
void
objc_finish_implementation (void)
objc_finish_implementation (void)
{
{
}
}
 
 
void
void
objc_add_method_declaration (tree ARG_UNUSED (signature))
objc_add_method_declaration (tree ARG_UNUSED (signature))
{
{
}
}
 
 
void
void
objc_start_method_definition (tree ARG_UNUSED (signature))
objc_start_method_definition (tree ARG_UNUSED (signature))
{
{
}
}
 
 
void
void
objc_finish_method_definition (tree ARG_UNUSED (fndecl))
objc_finish_method_definition (tree ARG_UNUSED (fndecl))
{
{
}
}
 
 
tree
tree
objc_build_keyword_decl (tree ARG_UNUSED (selector),
objc_build_keyword_decl (tree ARG_UNUSED (selector),
                         tree ARG_UNUSED (typename),
                         tree ARG_UNUSED (typename),
                         tree ARG_UNUSED (identifier))
                         tree ARG_UNUSED (identifier))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_build_method_signature (tree ARG_UNUSED (rettype),
objc_build_method_signature (tree ARG_UNUSED (rettype),
                             tree ARG_UNUSED (selectors),
                             tree ARG_UNUSED (selectors),
                             tree ARG_UNUSED (optparms),
                             tree ARG_UNUSED (optparms),
                             bool ARG_UNUSED (ellipsis))
                             bool ARG_UNUSED (ellipsis))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_build_encode_expr (tree ARG_UNUSED (expr))
objc_build_encode_expr (tree ARG_UNUSED (expr))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_build_protocol_expr (tree ARG_UNUSED (expr))
objc_build_protocol_expr (tree ARG_UNUSED (expr))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_build_selector_expr (tree ARG_UNUSED (expr))
objc_build_selector_expr (tree ARG_UNUSED (expr))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_build_message_expr (tree ARG_UNUSED (expr))
objc_build_message_expr (tree ARG_UNUSED (expr))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_build_string_object (tree ARG_UNUSED (str))
objc_build_string_object (tree ARG_UNUSED (str))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_get_class_reference (tree ARG_UNUSED (name))
objc_get_class_reference (tree ARG_UNUSED (name))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_get_protocol_qualified_type (tree ARG_UNUSED (name),
objc_get_protocol_qualified_type (tree ARG_UNUSED (name),
                                  tree ARG_UNUSED (protos))
                                  tree ARG_UNUSED (protos))
{
{
  return 0;
  return 0;
}
}
 
 
int
int
objc_static_init_needed_p (void)
objc_static_init_needed_p (void)
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_generate_static_init_call (tree ARG_UNUSED (ctors))
objc_generate_static_init_call (tree ARG_UNUSED (ctors))
{
{
  return 0;
  return 0;
}
}
 
 
int
int
objc_is_public (tree ARG_UNUSED (expr), tree ARG_UNUSED (identifier))
objc_is_public (tree ARG_UNUSED (expr), tree ARG_UNUSED (identifier))
{
{
  return 1;
  return 1;
}
}
 
 
tree
tree
objc_get_class_ivars (tree ARG_UNUSED (name))
objc_get_class_ivars (tree ARG_UNUSED (name))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_build_throw_stmt (tree ARG_UNUSED (expr))
objc_build_throw_stmt (tree ARG_UNUSED (expr))
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_build_synchronized (location_t ARG_UNUSED (start_locus),
objc_build_synchronized (location_t ARG_UNUSED (start_locus),
                         tree ARG_UNUSED (mutex), tree ARG_UNUSED (body))
                         tree ARG_UNUSED (mutex), tree ARG_UNUSED (body))
{
{
  return 0;
  return 0;
}
}
 
 
void
void
objc_begin_try_stmt (location_t ARG_UNUSED (try_locus), tree ARG_UNUSED (body))
objc_begin_try_stmt (location_t ARG_UNUSED (try_locus), tree ARG_UNUSED (body))
{
{
}
}
 
 
void
void
objc_begin_catch_clause (tree ARG_UNUSED (decl))
objc_begin_catch_clause (tree ARG_UNUSED (decl))
{
{
}
}
 
 
void
void
objc_finish_catch_clause (void)
objc_finish_catch_clause (void)
{
{
}
}
 
 
void
void
objc_build_finally_clause (location_t ARG_UNUSED (finally_locus),
objc_build_finally_clause (location_t ARG_UNUSED (finally_locus),
                           tree ARG_UNUSED (body))
                           tree ARG_UNUSED (body))
{
{
}
}
 
 
tree
tree
objc_finish_try_stmt (void)
objc_finish_try_stmt (void)
{
{
  return 0;
  return 0;
}
}
 
 
tree
tree
objc_generate_write_barrier (tree ARG_UNUSED (lhs),
objc_generate_write_barrier (tree ARG_UNUSED (lhs),
                             enum tree_code ARG_UNUSED (modifycode),
                             enum tree_code ARG_UNUSED (modifycode),
                             tree ARG_UNUSED (rhs))
                             tree ARG_UNUSED (rhs))
{
{
  return 0;
  return 0;
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.