From: Christian Würdig Date: Thu, 11 May 2006 10:02:43 +0000 (+0000) Subject: updated comments X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b17c6a2f0f4e757d16ef3b7a06fa28081eb0bd67;p=libfirm updated comments adapted to arch_irn_ops changes --- diff --git a/ir/be/ia32/bearch_ia32.c b/ir/be/ia32/bearch_ia32.c index f8d95bd7a..020fb8140 100644 --- a/ir/be/ia32/bearch_ia32.c +++ b/ir/be/ia32/bearch_ia32.c @@ -1,6 +1,6 @@ /** * This is the main ia32 firm backend driver. - * + * @author Christian Wuerdig * $Id$ */ @@ -452,6 +452,19 @@ static ir_type *ia32_abi_get_between_type(void *self) return env->flags.try_omit_fp ? omit_fp_between_type : between_type; } +/** + * Returns the inverse operation if @p irn, recalculating the argument at position @p i. + * + * @param irn The original operation + * @param i Index of the argument we want the inverse operation to yield + * @param inverse struct to be filled with the resulting inverse op + * @param obstack The obstack to use for allocation of the returned nodes array + * @return The inverse operation or NULL if operation invertible + */ +static arch_inverse_t *ia32_get_inverse(const void *self, const ir_node *irn, int i, arch_inverse_t *inverse, struct obstack *obst) { + return NULL; +} + static const be_abi_callbacks_t ia32_abi_callbacks = { ia32_abi_init, free, @@ -470,7 +483,8 @@ static const arch_irn_ops_if_t ia32_irn_ops_if = { ia32_classify, ia32_get_flags, ia32_get_frame_entity, - ia32_set_stack_bias + ia32_set_stack_bias, + ia32_get_inverse }; ia32_irn_ops_t ia32_irn_ops = {