bd52d17906
too large to list, but see: http://gcc.gnu.org/gcc-3.4/changes.html http://gcc.gnu.org/gcc-4.0/changes.html http://gcc.gnu.org/gcc-4.1/changes.html for the details.
68 lines
2.9 KiB
C
68 lines
2.9 KiB
C
/* TREELANG Compiler definitions for interfacing to treetree.c
|
|
(compiler back end interface).
|
|
|
|
Copyright (C) 1986, 87, 89, 92-96, 1997, 1999, 2000, 2001, 2002, 2003,
|
|
2004, 2005 Free Software Foundation, Inc.
|
|
|
|
This program 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 Software Foundation; either version 2, or (at your option) any
|
|
later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, 51 Franklin Street, Fifth Floor,
|
|
Boston, MA 02110-1301, USA.
|
|
|
|
In other words, you are welcome to use, share and improve this program.
|
|
You are forbidden to forbid anyone else to use, share and improve
|
|
what you give them. Help stamp out software-hoarding!
|
|
|
|
---------------------------------------------------------------------------
|
|
|
|
Written by Tim Josling 1999, 2000, 2001, based in part on other
|
|
parts of the GCC compiler. */
|
|
|
|
tree tree_code_init_parameters (void);
|
|
tree tree_code_add_parameter (tree list, tree proto_exp, tree exp);
|
|
tree tree_code_get_integer_value (unsigned char *chars, unsigned int length);
|
|
void tree_code_generate_return (tree type, tree exp);
|
|
void tree_ggc_storage_always_used (void *m);
|
|
tree tree_code_get_expression (unsigned int exp_type, tree type, tree op1,
|
|
tree op2, tree op3, location_t loc);
|
|
tree tree_code_get_numeric_type (unsigned int size1, unsigned int sign1);
|
|
void tree_code_create_function_initial (tree prev_saved,
|
|
location_t loc);
|
|
void tree_code_create_function_wrapup (location_t loc);
|
|
tree tree_code_create_function_prototype (unsigned char* chars,
|
|
unsigned int storage_class,
|
|
unsigned int ret_type,
|
|
struct prod_token_parm_item* parms,
|
|
location_t loc);
|
|
tree tree_code_create_variable (unsigned int storage_class,
|
|
unsigned char* chars,
|
|
unsigned int length,
|
|
unsigned int expression_type,
|
|
tree init,
|
|
location_t loc);
|
|
void tree_code_output_expression_statement (tree code,
|
|
location_t loc);
|
|
void tree_code_if_start (tree exp, location_t loc);
|
|
void tree_code_if_else (location_t loc);
|
|
void tree_code_if_end (location_t loc);
|
|
tree tree_code_get_type (int type_num);
|
|
void treelang_init_decl_processing (void);
|
|
void treelang_finish (void);
|
|
bool treelang_init (void);
|
|
unsigned int treelang_init_options (unsigned int, const char **);
|
|
int treelang_handle_option (size_t scode, const char *arg, int value);
|
|
void treelang_parse_file (int debug_flag);
|
|
void push_var_level (void);
|
|
void pop_var_level (void);
|
|
const char* get_string (const char *s, size_t l);
|