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:
9fa60c3
)
do not use custom copy without custom attributes
author
Matthias Braun
<matze@braunis.de>
Thu, 15 Sep 2011 13:49:03 +0000
(15:49 +0200)
committer
Matthias Braun
<matze@braunis.de>
Tue, 20 Sep 2011 07:34:22 +0000
(09:34 +0200)
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
af8e2f9
..
0fbaeee
100755
(executable)
--- a/
ir/be/scripts/generate_new_opcodes.pl
+++ b/
ir/be/scripts/generate_new_opcodes.pl
@@
-669,7
+669,11
@@
EOF
}
my $copy_attr_func = $copy_attr{$attr_type};
if (!defined($copy_attr_func)) {
- $copy_attr_func = $default_copy_attr;
+ if ($attr_type eq "") {
+ $copy_attr_func = "NULL";
+ } else {
+ $copy_attr_func = $default_copy_attr;
+ }
}
if (defined($copy_attr_func)) {
push(@obst_new_irop, "\tops.copy_attr = ${copy_attr_func};\n");