projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
committing ilp based spilling
[libfirm]
/
ir
/
be
/
belive_t.h
diff --git
a/ir/be/belive_t.h
b/ir/be/belive_t.h
index
68f671e
..
2d20088
100644
(file)
--- a/
ir/be/belive_t.h
+++ b/
ir/be/belive_t.h
@@
-7,7
+7,7
@@
#ifndef _BELIVE_T_H
#define _BELIVE_T_H
#ifndef _BELIVE_T_H
#define _BELIVE_T_H
-#include "config.h"
+#include "
firm_
config.h"
#include "irgraph_t.h"
#include "iredges_t.h"
#include "irgraph_t.h"
#include "iredges_t.h"
@@
-44,12
+44,11
@@
extern size_t live_irg_data_offset;
#define live_is_end(live) (((live)->state & live_state_end) != 0)
#define live_is_out(live) (((live)->state & live_state_out) != 0)
#define live_is_end(live) (((live)->state & live_state_end) != 0)
#define live_is_out(live) (((live)->state & live_state_out) != 0)
-static INLINE irn_live_t *_get_or_set_live(const ir_node *block,
- const ir_node *irn, int state)
+static INLINE irn_live_t *_get_or_set_live(const ir_node *block, const ir_node *irn, int state)
{
irg_live_info_t *live_info = get_irg_live_info(get_irn_irg(block));
{
irg_live_info_t *live_info = get_irg_live_info(get_irn_irg(block));
- irn_live_t *live, templ;
unsigned hash = HASH_PTR(block) + 37 * HASH_PTR(irn);
unsigned hash = HASH_PTR(block) + 37 * HASH_PTR(irn);
+ irn_live_t *live, templ;
templ.block = block;
templ.irn = irn;
templ.block = block;
templ.irn = irn;
@@
-61,7
+60,7
@@
static INLINE irn_live_t *_get_or_set_live(const ir_node *block,
if(!is_Block(irn)) {
irn_live_t *bl_live = _get_or_set_live(block, block, live_state_block);
if(!is_Block(irn)) {
irn_live_t *bl_live = _get_or_set_live(block, block, live_state_block);
- live->next = bl_live->next;
+ live->next
= bl_live->next;
bl_live->next = live;
}
bl_live->next = live;
}