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
cee57668
Commit
cee57668
authored
Dec 07, 2011
by
Matthias Braun
Browse files
fix warnings in newer perls
parent
9fbdcb82
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/scripts/generate_new_opcodes.pl
View file @
cee57668
...
...
@@ -67,7 +67,7 @@ my $target_h = $target_dir."/gen_".$arch."_new_nodes.h";
if
(
!
defined
(
$default_attr_type
))
{
$default_attr_type
=
"
${arch}
_attr_t
";
}
if
(
!
defined
(
%init_attr
)
)
{
if
(
!
%init_attr
)
{
%init_attr
=
(
"
$default_attr_type
"
=>
"
\t
init_
${arch}
_attributes(res, irn_flags_, in_reqs, n_res);
",
);
...
...
@@ -75,7 +75,7 @@ if(!defined(%init_attr)) {
if
(
!
defined
(
$default_cmp_attr
))
{
$default_cmp_attr
=
"
${arch}
_compare_attr
";
}
if
(
!
defined
(
%compare_attr
)
)
{
if
(
!
%compare_attr
)
{
%compare_attr
=
(
"
${default_attr_type}
"
=>
"
${default_cmp_attr}
",
);
...
...
@@ -409,7 +409,7 @@ EOF
"
simple_jump
"
=>
"
arch_irn_flags_simple_jump
",
"
not_scheduled
"
=>
"
arch_irn_flags_not_scheduled
",
);
if
(
defined
(
%custom_irn_flags
)
)
{
if
(
%custom_irn_flags
)
{
%known_irn_flags
=
(
%known_irn_flags
,
%custom_irn_flags
);
}
foreach
my
$flag
(
@
{
$n
->
{"
irn_flags
"}})
{
...
...
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