From: Götz Lindenmaier Date: Tue, 23 Apr 2002 09:21:26 +0000 (+0000) Subject: removed. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=f8daa985bad181c48856b1c00d7077467a06db9f;p=libfirm removed. [r368] --- diff --git a/ir/debug/debinfo.c b/ir/debug/debinfo.c deleted file mode 100644 index a574c2908..000000000 --- a/ir/debug/debinfo.c +++ /dev/null @@ -1,28 +0,0 @@ -/* -** Copyright (C) 2001 by Universitaet Karlsruhe -** All rights reserved. -** -** Authors: Goetz Lindenmaier -** -** debinfo: This is a empty implementation of the Firm interface to -** debugging support. It only guarantees that the Firm library compiles -** and runs without any real debugging support. -** The functions herein are declared weak so that they can be overriden -** by a real implementation. -*/ - -/* $Id$ */ - -#ifdef HAVE_CONFIG_H -# include -#endif - -#include "debinfo.h" - -inline void -deb_info_copy(ir_node *new, ir_node *old, ident *info) { -} - -inline void -deb_info_merge(ir_node **new_nodes, ir_node **old_nodes, ident *info) { -} diff --git a/ir/debug/debinfo.h b/ir/debug/debinfo.h deleted file mode 100644 index 2d9cb3a0c..000000000 --- a/ir/debug/debinfo.h +++ /dev/null @@ -1,53 +0,0 @@ -/* -** Copyright (C) 2001 by Universitaet Karlsruhe -** All rights reserved. -** -** Authors: Goetz Lindenmaier -** -** debinfo: This is the Firm interface to debugging support. Firm requires -** a debugging module fulfilling this interface. -** The interface requires a datatype representing the debugging information. -** Firm supports administrating a reference to the debug information -** in every firm node. Further Firm optimizations call routines to -** propagate debug information from old nodes to new nodes if the optimization -** replaces the old ones by the new ones. -** -** This file does not belong to the interface of the firm library. -*/ - -/* $Id$ */ - -# ifndef _DEBINFO_H_ -# define _DEBINFO_H_ - -#include "irnode.h" -#include "ident.h" - -/* A datastructure containing information for debugging. */ -typedef struct deb_info deb_info; -/* Every Firm node contains a reference to a deb_info struct. This reference - can be accessed by the debug support module by - deb_info *get_irn_deb_info(irnode *n); - void set_irn_deb_info(irnode *n, deb_info *d);. - The module may not touch or change anything else in the Firm data structure. -*/ - -/** The following routines are called by firm optmizations. The optimization - passes an ident representing a string that describes the optimization - performed. **/ -/* deb_info_copy() is called in the following situation: - The optimization replaced the old node by the new one. The new node - might be a recent allocated node not containing any debug information, - or just another node from somewhere in the graph with the same - semantics. */ -void deb_info_copy(ir_node *new, ir_node *old, ident *info); - -/* deb_info_merge() is called in the following situation: - The optimization replaced a subgraph by another subgraph. There is no - obviouse mapping between single nodes in both subgraphs. The optimization - simply passes two lists to the debug module, one containing the nodes in - the old subgraph, the other containing the nodes in the new subgraph. */ -void deb_info_merge(ir_node **new_nodes, ir_node **old_nodes, ident *info); - - -#endif /* _DEBINFO_H_ */