projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
missing ; added
[libfirm]
/
ir
/
opt
/
ldstopt.c
diff --git
a/ir/opt/ldstopt.c
b/ir/opt/ldstopt.c
index
3af1d87
..
ec264f2
100644
(file)
--- a/
ir/opt/ldstopt.c
+++ b/
ir/opt/ldstopt.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.
*
@@
-446,7
+446,7
@@
static unsigned is_Call_pure(ir_node *call) {
/* try the called entity */
ir_node *ptr = get_Call_ptr(call);
/* try the called entity */
ir_node *ptr = get_Call_ptr(call);
- if (is_SymConst
(ptr) && get_SymConst_kind(ptr) == symconst_addr_ent
) {
+ if (is_SymConst
_addr_ent(ptr)
) {
ir_entity *ent = get_SymConst_entity(ptr);
prop = get_entity_additional_properties(ent);
ir_entity *ent = get_SymConst_entity(ptr);
prop = get_entity_additional_properties(ent);
@@
-1352,7
+1352,7
@@
static void move_loads_out_of_loops(scc *pscc, loop_env *env) {
continue;
/* for now, we can only handle Load(SymConst) */
continue;
/* for now, we can only handle Load(SymConst) */
- if (! is_SymConst
(ptr) || get_SymConst_kind(ptr) != symconst_addr_ent
)
+ if (! is_SymConst
_addr_ent(ptr)
)
continue;
ent = get_SymConst_entity(ptr);
load_mode = get_Load_mode(load);
continue;
ent = get_SymConst_entity(ptr);
load_mode = get_Load_mode(load);