From b8fd4d5210fccb7dbbee5cf0157d002dd8038874 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 4 Nov 2017 15:50:46 -0400 Subject: driver: adjust code following changes in libcparser's API. --- src/driver/amgc_driver_ctx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/driver/amgc_driver_ctx.c b/src/driver/amgc_driver_ctx.c index e5b218e..26f48d7 100644 --- a/src/driver/amgc_driver_ctx.c +++ b/src/driver/amgc_driver_ctx.c @@ -135,9 +135,9 @@ static int amgc_init_cparser(void) init_preprocessor(); init_parser(); init_ast(); - init_gen_firm(); + init_firm_opt(); + init_firm_target(); - target_set_defaults(); target_setup(); return 0; @@ -274,7 +274,7 @@ int amgc_create_driver_ctx( static void amgc_exit_cparser(void) { - exit_gen_firm(); + exit_firm_opt(); exit_ast2firm(); exit_ast(); exit_parser(); -- cgit v1.2.3