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
0fed2e71
Commit
0fed2e71
authored
Sep 29, 2004
by
Götz Lindenmaier
Browse files
moved methods
[r3998]
parent
3c1cd20d
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/ir/irnode.c
View file @
0fed2e71
...
...
@@ -607,30 +607,6 @@ set_Block_graph_arr (ir_node *node, int pos, ir_node *value) {
node
->
attr
.
block
.
graph_arr
[
pos
+
1
]
=
value
;
}
/* handler handling for Blocks */
void
set_Block_handler
(
ir_node
*
block
,
ir_node
*
handler
)
{
assert
((
block
->
op
==
op_Block
));
assert
((
handler
->
op
==
op_Block
));
}
ir_node
*
get_Block_handler
(
ir_node
*
block
)
{
assert
((
block
->
op
==
op_Block
));
return
(
NULL
);
}
/* handler handling for Nodes */
void
set_Node_handler
(
ir_node
*
node
,
ir_node
*
handler
)
{
}
ir_node
*
get_Node_handler
(
ir_node
*
node
)
{
return
(
NULL
);
}
void
set_Block_cg_cfgpred_arr
(
ir_node
*
node
,
int
arity
,
ir_node
**
in
)
{
assert
(
node
->
op
==
op_Block
);
if
(
node
->
attr
.
block
.
in_cg
==
NULL
||
arity
!=
ARR_LEN
(
node
->
attr
.
block
.
in_cg
)
-
1
)
{
...
...
ir/st/exc.c
View file @
0fed2e71
...
...
@@ -104,14 +104,38 @@ static bool is_cfg_jmp (ir_node *node)
}
#endif
void
set_Block_exc
(
ir_node
*
n
,
ir_node
*
exc
)
{
void
set_Block_exc
(
ir_node
*
n
,
exc_t
exc
)
{
}
ir_node
*
get_Block_exc
(
ir_node
*
n
)
{
return
NULL
;
exc_t
get_Block_exc
(
ir_node
*
n
)
{
return
0
;
}
/* handler handling for Blocks */
void
set_Block_handler
(
ir_node
*
block
,
ir_node
*
handler
)
{
assert
(
is_Block
(
block
));
assert
(
is_Block
(
handler
));
}
ir_node
*
get_Block_handler
(
ir_node
*
block
)
{
assert
(
is_Block
(
block
));
return
(
NULL
);
}
/* handler handling for Nodes */
void
set_Node_handler
(
ir_node
*
node
,
ir_node
*
handler
)
{
}
ir_node
*
get_Node_handler
(
ir_node
*
node
)
{
return
(
NULL
);
}
/*
Return true iff a new exception region must be left upon entry of this block.
...
...
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