binutils-gdb/gdb/compile
Keith Seitz ad3a68e9b9 Use policies for code generation
This patch changes code generation procedures add_code_header,
add_code_footer, and several other language-specific code generation
functions into policies.

gdb/ChangeLog:
        * compile/compile-c-support.c (add_code_header, add_code_footer):
        Move into policy class.
        (c_push_user_expression, pop_user_expression_nop)
        (c_add_code_header, c_add_code_footer, c_add_input): New policy class.
        (compile_program): New host class.
        (c_compile_program): New typedef.
        (c_compute_porgram): Use c_compile_program.
2018-08-10 11:14:25 -07:00
..
compile-c-support.c Use policies for code generation 2018-08-10 11:14:25 -07:00
compile-c-symbols.c Move compile_instance to compile.c 2018-08-10 11:14:25 -07:00
compile-c-types.c Move compile_instance to compile.c 2018-08-10 11:14:25 -07:00
compile-c.h Move compile_instance to compile.c 2018-08-10 11:14:25 -07:00
compile-internal.h Use unique_ptr for htabs 2018-08-10 11:14:25 -07:00
compile-loc2c.c Move C-related declarations to compile-c.h 2018-08-10 11:14:25 -07:00
compile-object-load.c Simple unused variable removals 2018-07-22 13:20:01 -06:00
compile-object-load.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
compile-object-run.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
compile-object-run.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
compile.c Use unique_ptr for htabs 2018-08-10 11:14:25 -07:00
compile.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
gcc-c-plugin.h Add a C++ wrapper for GCC C plug-in 2018-08-10 11:14:25 -07:00