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
200a8fc7
Commit
200a8fc7
authored
Sep 10, 2010
by
Matthias Braun
Browse files
remove fragile_ops flag, it just suppresses valuable information and even was disabled by default
[r27988]
parent
4ed766ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/libfirm/irflag.h
View file @
200a8fc7
...
...
@@ -149,15 +149,6 @@ FIRM_API void set_opt_optimize_class_casts(int value);
FIRM_API
void
set_opt_suppress_downcast_optimization
(
int
value
);
FIRM_API
int
get_opt_suppress_downcast_optimization
(
void
);
/** Enable/Disable floating of fragile ops.
*
* This flags enables/disables the floating of fragile operations.
* If this flag is on, fragile operations which are known to NOT raise
* an exception can be place to other basic blocks.
* Otherwise they remain in the block they were created.
*/
FIRM_API
void
set_opt_fragile_ops
(
int
value
);
/**
* Enable/Disable Confirm node removal during local optimization.
*/
...
...
ir/ir/irflag_t.def
View file @
200a8fc7
...
...
@@ -77,9 +77,6 @@ I_FLAG(allow_conv_b , 13, ON)
/** precise exception context */
I_FLAG(precise_exc_context , 15, OFF)
/** Optimize Fragile OPs */
I_FLAG(fragile_ops , 16, OFF)
/** Optimize cast nodes. */
E_FLAG(suppress_downcast_optimization , 22, OFF)
...
...
ir/ir/irnode_t.h
View file @
200a8fc7
...
...
@@ -328,7 +328,8 @@ static inline op_pin_state _get_irn_pinned(const ir_node *node)
state
=
_get_op_pinned
(
_get_irn_op
(
node
));
if
(
state
>=
op_pin_state_exc_pinned
)
return
get_opt_fragile_ops
()
?
node
->
attr
.
except
.
pin_state
:
op_pin_state_pinned
;
return
node
->
attr
.
except
.
pin_state
;
return
state
;
}
...
...
Write
Preview
Supports
Markdown
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