projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ir_visibility cleanup
[libfirm]
/
ir
/
ana
/
trouts.c
diff --git
a/ir/ana/trouts.c
b/ir/ana/trouts.c
index
c259642
..
6a94264
100644
(file)
--- a/
ir/ana/trouts.c
+++ b/
ir/ana/trouts.c
@@
-22,11
+22,10
@@
* @brief Reverse edges that reference types/entities.
* @author Goetz Lindenmaier
* @date 29.10.2004
* @brief Reverse edges that reference types/entities.
* @author Goetz Lindenmaier
* @date 29.10.2004
- * @version $Id$
*/
#include "config.h"
*/
#include "config.h"
-#include "trouts.h"
+#include "trouts
_t
.h"
#include "array.h"
#include "pmap.h"
#include "array.h"
#include "pmap.h"
@@
-391,7
+390,6
@@
size_t get_class_n_downcasts(const ir_type *clss)
return n_instances;
}
return n_instances;
}
-/* Cast node that creates an instance of this type */
ir_node *get_type_cast(const ir_type *tp, size_t pos)
{
ir_node **casts;
ir_node *get_type_cast(const ir_type *tp, size_t pos)
{
ir_node **casts;
@@
-604,8
+602,10
@@
static void chain_accesses(ir_node *n, void *env)
} else if (is_SymConst_addr_ent(n)) {
add_entity_reference(get_SymConst_entity(n), n);
return;
} else if (is_SymConst_addr_ent(n)) {
add_entity_reference(get_SymConst_entity(n), n);
return;
- } else if (is_memop(n)) {
- addr = get_memop_ptr(n);
+ } else if (is_Store(n)) {
+ addr = get_Store_ptr(n);
+ } else if (is_Load(n)) {
+ addr = get_Load_ptr(n);
} else if (is_Call(n)) {
addr = get_Call_ptr(n);
if (! is_Sel(addr)) return; /* Sels before Calls mean a Load / polymorphic Call. */
} else if (is_Call(n)) {
addr = get_Call_ptr(n);
if (! is_Sel(addr)) return; /* Sels before Calls mean a Load / polymorphic Call. */
@@
-636,7
+636,6
@@
static void chain_types(ir_type *tp)
}
}
}
}
-/* compute the trouts data structures. */
void compute_trouts(void)
{
size_t i;
void compute_trouts(void)
{
size_t i;