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
a2eb1e7a
Commit
a2eb1e7a
authored
Feb 22, 2007
by
Christian Würdig
Browse files
fixed out-flags parsing
parent
b5a4acb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/scripts/generate_new_opcodes.pl
View file @
a2eb1e7a
...
...
@@ -90,9 +90,9 @@ foreach my $op (keys(%nodes)) {
for
(
my
$idx
=
0
;
$idx
<=
$#outs
;
$idx
++
)
{
# check, if we have additional flags annotated to out
if
(
$outs
[
$idx
]
=~
/:(S|I(\|(S|I))*)/
)
{
if
(
$outs
[
$idx
]
=~
/:(
(
S|I
)
(\|(S|I))*)/
)
{
push
(
@out_flags
,
$
1
);
$outs
[
$idx
]
=~
s/:(S|I(\|(S|I))*)//
;
$outs
[
$idx
]
=~
s/:(
(
S|I
)
(\|(S|I))*)//
;
}
push
(
@obst_proj
,
"
pn_
$op
\
_
"
.
$outs
[
$idx
]
.
"
=
$idx
,
\n
");
}
...
...
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