From 22792ba22e7275e68cfbdd8aa6305c2e9e26bc9b Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Mon, 12 Dec 2011 16:03:51 +0100 Subject: [PATCH] FIRM_API is for public API --- ir/ir/irprog_t.h | 4 ++-- ir/opt/opt_confirms.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ir/ir/irprog_t.h b/ir/ir/irprog_t.h index 15111a16f..9b8b0cfe6 100644 --- a/ir/ir/irprog_t.h +++ b/ir/ir/irprog_t.h @@ -161,11 +161,11 @@ void init_irprog_1(void); void init_irprog_2(void); /** Adds type to the list of types in irp. */ -FIRM_API void add_irp_type(ir_type *typ); +void add_irp_type(ir_type *typ); /** Removes type from the list of types, deallocates it and shrinks the list by one. */ -FIRM_API void remove_irp_type(ir_type *typ); +void remove_irp_type(ir_type *typ); /* Inline functions. */ #define get_irp_n_irgs() get_irp_n_irgs_() diff --git a/ir/opt/opt_confirms.c b/ir/opt/opt_confirms.c index 99c618302..817ebe726 100644 --- a/ir/opt/opt_confirms.c +++ b/ir/opt/opt_confirms.c @@ -94,7 +94,7 @@ static tarval *compare_iv_dbg(const interval_t *l_iv, const interval_t *r_iv, ir * This is a often needed case, so we handle here Confirm * nodes too. */ -FIRM_API int value_not_zero(const ir_node *n, ir_node_cnst_ptr *confirm) +int value_not_zero(const ir_node *n, const ir_node **confirm) { #define RET_ON(x) if (x) { *confirm = n; return 1; } break @@ -171,7 +171,7 @@ FIRM_API int value_not_zero(const ir_node *n, ir_node_cnst_ptr *confirm) * - A SymConst(entity) is NEVER a NULL pointer * - Confirms are evaluated */ -FIRM_API int value_not_null(const ir_node *n, ir_node_cnst_ptr *confirm) +int value_not_null(const ir_node *n, const ir_node **confirm) { ir_tarval *tv; @@ -232,7 +232,7 @@ extern "C++" { * If the mode of the value did not honor signed zeros, else * check for >= 0 or < 0. */ -FIRM_API ir_value_classify_sign classify_value_sign(ir_node *n) +ir_value_classify_sign classify_value_sign(ir_node *n) { ir_tarval *tv, *c; ir_mode *mode; @@ -630,7 +630,7 @@ static int is_transitive(ir_relation relation) * @param right the right operand of the Cmp * @param relation the compare relation */ -FIRM_API ir_tarval *computed_value_Cmp_Confirm(const ir_node *cmp, ir_node *left, ir_node *right, ir_relation relation) +ir_tarval *computed_value_Cmp_Confirm(const ir_node *cmp, ir_node *left, ir_node *right, ir_relation relation) { ir_node *l_bound; ir_relation l_relation, res_relation, neg_relation; -- 2.20.1