projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed dangerous get_nodes_block()
[libfirm]
/
ir
/
be
/
bessadestr.c
diff --git
a/ir/be/bessadestr.c
b/ir/be/bessadestr.c
index
e3d7c88
..
41c11d3
100644
(file)
--- a/
ir/be/bessadestr.c
+++ b/
ir/be/bessadestr.c
@@
-18,12
+18,11
@@
*/
/**
*/
/**
- * Author: Daniel Grund
- * Date: 25.05.2005
- * Copyright: (c) Universitaet Karlsruhe
- * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
- *
- * Performs SSA-Destruction.
+ * @file
+ * @brief Performs SSA-Destruction.
+ * @author Daniel Grund
+ * @date 25.05.2005
+ * @version $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
@@
-50,7
+49,7
@@
#include "benodesets.h"
#include "bestatevent.h"
#include "beirg_t.h"
#include "benodesets.h"
#include "bestatevent.h"
#include "beirg_t.h"
-#include "be
ra
.h"
+#include "be
intlive_t
.h"
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
@@
-222,7
+221,6
@@
static void insert_all_perms_walker(ir_node *bl, void *data) {
*/
static void set_regs_or_place_dupls_walker(ir_node *bl, void *data) {
be_chordal_env_t *chordal_env = data;
*/
static void set_regs_or_place_dupls_walker(ir_node *bl, void *data) {
be_chordal_env_t *chordal_env = data;
- be_lv_t *lv = chordal_env->birg->lv;
ir_node *phi;
/* Consider all phis of this block */
ir_node *phi;
/* Consider all phis of this block */
@@
-248,7
+246,7
@@
static void set_regs_or_place_dupls_walker(ir_node *bl, void *data) {
DBG((dbg, LEVEL_1, " for %+F(%s) -- %+F(%s)\n", phi, phi_reg->name, arg, arg_reg->name));
DBG((dbg, LEVEL_1, " for %+F(%s) -- %+F(%s)\n", phi, phi_reg->name, arg, arg_reg->name));
- if (values_interfere(
lv
, phi, arg)) {
+ if (values_interfere(
chordal_env->birg
, phi, arg)) {
/*
Insert a duplicate in arguments block,
make it the new phi arg,
/*
Insert a duplicate in arguments block,
make it the new phi arg,