diff options
author | Keith Seitz <keiths@redhat.com> | 2018-08-10 11:01:24 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2018-08-10 11:14:25 -0700 |
commit | ad3a68e9b9b01fbdc09854fb7fd655db652c482f (patch) | |
tree | a24d65fa792e3793a0de86ad29aaf32f920944f7 /include/som/lst.h | |
parent | 0cfbf43085c4191f3f4b4b4a834f1e19bf42d4a9 (diff) | |
download | gdb-ad3a68e9b9b01fbdc09854fb7fd655db652c482f.zip gdb-ad3a68e9b9b01fbdc09854fb7fd655db652c482f.tar.gz gdb-ad3a68e9b9b01fbdc09854fb7fd655db652c482f.tar.bz2 |
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.
Diffstat (limited to 'include/som/lst.h')
0 files changed, 0 insertions, 0 deletions