Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
e9d1e280
Commit
e9d1e280
authored
Sep 20, 2006
by
Michael Beck
Browse files
added get_opt_closed_world() where appropriate
[r8285]
parent
f21cd89a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ana/cgana.c
View file @
e9d1e280
...
...
@@ -217,7 +217,7 @@ static void sel_methods_walker(ir_node * node, void *env) {
*/
assert
(
get_entity_peculiarity
(
ent
)
==
peculiarity_description
);
}
else
if
(
get_opt_optimize
()
&&
get_opt_dyn_meth_dispatch
()
&&
else
if
(
get_opt_optimize
()
&&
get_opt_closed_world
()
&&
get_opt_dyn_meth_dispatch
()
&&
(
ARR_LEN
(
arr
)
==
1
&&
arr
[
0
]
!=
NULL
))
{
ir_node
*
new_node
;
...
...
@@ -742,7 +742,7 @@ static void callee_walker(ir_node * call, void * env) {
}
#if 0 /* This generates Bad nodes when we don't want it.
Call it with a check for valid cgana information in local_optimize. */
if (ARR_LEN(arr) == 0 && get_opt_optimize() && get_opt_dyn_meth_dispatch()) {
if (ARR_LEN(arr) == 0 && get_opt_optimize() &&
get_opt_closed_world() &&
get_opt_dyn_meth_dispatch()) {
/* Kann vorkommen, wenn der Vorgnger beispielsweise eine
* Sel-Operation war, die keine Methoden zurckgeben
* konnte. Wir ersetzen die Call-Operation ebenfalls durch
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment