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
fe322c72
Commit
fe322c72
authored
Jul 03, 2015
by
Christoph Mallon
Browse files
amd64: Remove an unused parameter from amd64_gen_block().
parent
cb5a8977
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/amd64/amd64_emitter.c
View file @
fe322c72
...
...
@@ -859,10 +859,8 @@ static void amd64_register_emitters(void)
* Walks over the nodes in a block connected by scheduling edges
* and emits code for each node.
*/
static
void
amd64_gen_block
(
ir_node
*
block
,
void
*
data
)
static
void
amd64_gen_block
(
ir_node
*
block
)
{
(
void
)
data
;
be_gas_begin_block
(
block
,
true
);
sched_foreach
(
block
,
node
)
{
...
...
@@ -915,8 +913,7 @@ void amd64_emit_function(ir_graph *irg)
for
(
i
=
0
;
i
<
n
;
++
i
)
{
ir_node
*
block
=
blk_sched
[
i
];
amd64_gen_block
(
block
,
0
);
amd64_gen_block
(
block
);
}
ir_free_resources
(
irg
,
IR_RESOURCE_IRN_LINK
);
...
...
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