Fixed generation of attr = get_*_attr()
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 11 Jun 2007 14:11:06 +0000 (14:11 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 11 Jun 2007 14:11:06 +0000 (14:11 +0000)
[r14410]

ir/be/scripts/generate_new_opcodes.pl

index 83bc3f4..3c08592 100755 (executable)
@@ -460,7 +460,7 @@ foreach my $op (keys(%nodes)) {
 
 
                        if (exists($n{"init_attr"})) {
-                               $temp .= "\tattr = get_$arch\_attr(res);\n";
+                               $temp .= "\tattr = get_irn_generic_attr(res);\n";
                                $temp .= $n{"init_attr"}."\n";
                        }