projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8944a72
)
pass op to custom init_attr function
author
Matthias Braun
<matze@braunis.de>
Fri, 14 Sep 2007 11:55:08 +0000
(11:55 +0000)
committer
Matthias Braun
<matze@braunis.de>
Fri, 14 Sep 2007 11:55:08 +0000
(11:55 +0000)
[r15805]
ir/be/scripts/generate_new_opcodes.pl
patch
|
blob
|
history
diff --git
a/ir/be/scripts/generate_new_opcodes.pl
b/ir/be/scripts/generate_new_opcodes.pl
index
663c82f
..
f06d083
100755
(executable)
--- a/
ir/be/scripts/generate_new_opcodes.pl
+++ b/
ir/be/scripts/generate_new_opcodes.pl
@@
-508,7
+508,7
@@
foreach my $op (keys(%nodes)) {
}
$temp .= "${attr_init_code}\n";
if(defined($custom_init_attr_func)) {
- $temp .= &$custom_init_attr_func(\%n);
+ $temp .= &$custom_init_attr_func(\%n
, $op
);
}
$temp .= "\n";