From 430d301ab1b86461fa1f1f6a2f60b3a2bc1468ef Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 6 Apr 2006 15:38:50 +0000 Subject: [PATCH] removed unused cstore [r7593] --- ir/ir/irgraph.c | 10 ---------- ir/ir/irgraph.h | 6 ------ ir/ir/irgraph_t.h | 13 ------------- 3 files changed, 29 deletions(-) diff --git a/ir/ir/irgraph.c b/ir/ir/irgraph.c index 0a3bea242..7d404914d 100644 --- a/ir/ir/irgraph.c +++ b/ir/ir/irgraph.c @@ -444,16 +444,6 @@ void set_irg_end_except (ir_graph *irg, ir_node *node) { irg->anchors[anchor_end_except] = node; } -ir_node * -(get_irg_cstore)(const ir_graph *irg) { - return _get_irg_cstore(irg); -} - -void -(set_irg_cstore)(ir_graph *irg, ir_node *node) { - _set_irg_cstore(irg, node); -} - ir_node * (get_irg_frame)(const ir_graph *irg) { return _get_irg_frame(irg); diff --git a/ir/ir/irgraph.h b/ir/ir/irgraph.h index 587b2d02d..181b3b05f 100644 --- a/ir/ir/irgraph.h +++ b/ir/ir/irgraph.h @@ -210,12 +210,6 @@ void set_irg_end_reg (ir_graph *irg, ir_node *node); ir_node *get_irg_end_except (const ir_graph *irg); void set_irg_end_except (ir_graph *irg, ir_node *node); - -/* @@@ oblivious, no more supported. */ -ir_node *get_irg_cstore (const ir_graph *irg); -void set_irg_cstore (ir_graph *irg, ir_node *node); -/* end oblivious */ - /** Returns the node that represents the frame pointer. */ ir_node *get_irg_frame (const ir_graph *irg); /** Sets the node that represents the frame pointer. */ diff --git a/ir/ir/irgraph_t.h b/ir/ir/irgraph_t.h index da43d0258..2bfc530fa 100644 --- a/ir/ir/irgraph_t.h +++ b/ir/ir/irgraph_t.h @@ -61,7 +61,6 @@ enum irg_anchors { anchor_end, /**< end node of this ir_graph */ anchor_end_reg, /**< end node of this ir_graph */ anchor_end_except, /**< end node of this ir_graph */ - anchor_cstore, /**< constant store -- no more needed!! */ anchor_frame, /**< method's frame */ anchor_globals, /**< pointer to the data segment containing all globals as well as global procedures. */ @@ -252,16 +251,6 @@ _get_irg_end_except (const ir_graph *irg) { return irg->anchors[anchor_end_except]; } -static INLINE ir_node * -_get_irg_cstore(const ir_graph *irg) { - return irg->anchors[anchor_cstore]; -} - -static INLINE void -_set_irg_cstore(ir_graph *irg, ir_node *node) { - irg->anchors[anchor_cstore] = node; -} - static INLINE ir_node * _get_irg_frame(const ir_graph *irg) { return irg->anchors[anchor_frame]; @@ -542,8 +531,6 @@ _get_irg_estimated_node_cnt(const ir_graph *irg) { #define set_irg_end(irg, node) _set_irg_end(irg, node) #define get_irg_end_reg(irg) _get_irg_end_reg(irg) #define get_irg_end_except(irg) _get_irg_end_except(irg) -#define get_irg_cstore(irg) _get_irg_cstore(irg) -#define set_irg_cstore(irg, node) _set_irg_cstore(irg, node) #define get_irg_frame(irg) _get_irg_frame(irg) #define set_irg_frame(irg, node) _set_irg_frame(irg, node) #define get_irg_globals(irg) _get_irg_globals(irg) -- 2.20.1