From 78347e513f395f1b7f01b649f8ca797b34a7ec92 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 16 Feb 2005 13:30:30 +0000 Subject: [PATCH] redefined cnst_classify_t type (must checked by assertioens now) [r5161] --- ir/ir/irnode.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/ir/ir/irnode.h b/ir/ir/irnode.h index 553e1ff62..f5a8f0331 100644 --- a/ir/ir/irnode.h +++ b/ir/ir/irnode.h @@ -9,14 +9,11 @@ * Copyright: (c) 1998-2003 Universität Karlsruhe * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. */ - # ifndef _IRNODE_H_ # define _IRNODE_H_ #include -# include "pnc.h" -# include "tv.h" # include "irgraph.h" # include "entity.h" # include "firm_common.h" @@ -354,12 +351,12 @@ typedef enum { } pn_Raise; /* Projection numbers for Raise. */ typedef enum { - CNST_NULL = TV_CLASSIFY_NULL, /**< The node is a const(0). */ - CNST_ONE = TV_CLASSIFY_ONE, /**< The node is a const(1). */ - CNST_ALL_ONE = TV_CLASSIFY_ALL_ONE, /**< The node is a const(11111...). */ - CNST_OTHER = TV_CLASSIFY_OTHER, /**< The tarvel of the const has another value. */ - CNST_SYMCONST, /**< The node is symconst. */ - CNST_NO_CONST /**< The node is no const at all. */ + CNST_NULL = 0, /**< The node is a const(0). */ + CNST_ONE = +1, /**< The node is a const(1). */ + CNST_ALL_ONE = -1, /**< The node is a const(11111...). */ + CNST_OTHER = 2, /**< The tarvel of the const has another value. */ + CNST_SYMCONST = 3, /**< The node is symconst. */ + CNST_NO_CONST = 4 /**< The node is no const at all. */ } cnst_classify_t; tarval *get_Const_tarval (ir_node *node); -- 2.20.1