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
392debce
Commit
392debce
authored
May 11, 2006
by
Christian Würdig
Browse files
check for iro in is_NODE functions (saves a Load)
parent
0455964c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/scripts/generate_new_opcodes.pl
View file @
392debce
...
...
@@ -88,7 +88,7 @@ foreach my $op (keys(%nodes)) {
push
(
@obst_opvar
,
"
ir_op *op_
$op
= NULL;
\n
");
push
(
@obst_get_opvar
,
"
ir_op *get_op_
$op
(void) { return op_
$op
; }
\n
");
push
(
@obst_get_opvar
,
"
int is_
$op
(const ir_node *n) { return get_irn_op(n) == o
p
_
$op
; }
\n\n
");
push
(
@obst_get_opvar
,
"
int is_
$op
(const ir_node *n) { return get_irn_op
code
(n) ==
ir
o_
$op
; }
\n\n
");
push
(
@obst_is_archirn
,
"
is_
$op
(node)
");
...
...
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