projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Fixed strict-convs before Stores again: We can skip at least those
[libfirm]
/
ir
/
be
/
beirg.c
diff --git
a/ir/be/beirg.c
b/ir/be/beirg.c
index
c9cd719
..
4928186
100644
(file)
--- a/
ir/be/beirg.c
+++ b/
ir/be/beirg.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-30,22
+30,14
@@
#include "execfreq.h"
#include "beirg_t.h"
#include "execfreq.h"
#include "beirg_t.h"
+#include "absgraph.h"
-
void
be_assure_liveness(be_irg_t *birg)
+
be_lv_t *
be_assure_liveness(be_irg_t *birg)
{
if (birg->lv != NULL)
{
if (birg->lv != NULL)
- return;
-
- birg->lv = be_liveness(birg->irg);
-}
-
-void be_invalidate_liveness(be_irg_t *birg)
-{
- if (birg->lv == NULL)
- return;
+ return birg->lv;
- be_liveness_free(birg->lv);
- birg->lv = NULL;
+ return birg->lv = be_liveness(birg);
}
void be_assure_dom_front(be_irg_t *birg)
}
void be_assure_dom_front(be_irg_t *birg)