projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9132c9c
)
typos fixed
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Sat, 19 Nov 2005 09:41:21 +0000
(09:41 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Sat, 19 Nov 2005 09:41:21 +0000
(09:41 +0000)
[r6972]
ir/opt/ldstopt.c
patch
|
blob
|
history
diff --git
a/ir/opt/ldstopt.c
b/ir/opt/ldstopt.c
index
9a0bff8
..
9d5b197
100644
(file)
--- a/
ir/opt/ldstopt.c
+++ b/
ir/opt/ldstopt.c
@@
-289,7
+289,7
@@
static entity *find_constant_entity(ir_node *ptr)
entity *ent = get_Sel_entity(ptr);
type *tp = get_entity_owner(ent);
entity *ent = get_Sel_entity(ptr);
type *tp = get_entity_owner(ent);
- /* Do not fiddle
about polymorphy
. */
+ /* Do not fiddle
with polymorphism
. */
if (is_Class_type(get_entity_owner(ent)) &&
((get_entity_n_overwrites(ent) != 0) ||
(get_entity_n_overwrittenby(ent) != 0) ) )
if (is_Class_type(get_entity_owner(ent)) &&
((get_entity_n_overwrites(ent) != 0) ||
(get_entity_n_overwrittenby(ent) != 0) ) )
@@
-464,7
+464,7
@@
static unsigned optimize_load(ir_node *load)
}
/* Load from a constant polymorphic field, where we can resolve
}
/* Load from a constant polymorphic field, where we can resolve
- polymorph
y
. */
+ polymorph
ism
. */
new_node = transform_node_Load(load);
if (new_node != load) {
if (info->projs[pn_Load_M]) {
new_node = transform_node_Load(load);
if (new_node != load) {
if (info->projs[pn_Load_M]) {
@@
-920,7
+920,7
@@
static unsigned optimize_phi(ir_node *phi, void *env)
}
/**
}
/**
- * walker, do the opti
i
mizations
+ * walker, do the optimizations
*/
static void do_load_store_optimize(ir_node *n, void *env)
{
*/
static void do_load_store_optimize(ir_node *n, void *env)
{