projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed some minor bugs
[libfirm]
/
ir
/
be
/
scripts
/
generate_regalloc_if.pl
diff --git
a/ir/be/scripts/generate_regalloc_if.pl
b/ir/be/scripts/generate_regalloc_if.pl
index
4f24ca8
..
8c94db7
100755
(executable)
--- a/
ir/be/scripts/generate_regalloc_if.pl
+++ b/
ir/be/scripts/generate_regalloc_if.pl
@@
-445,6
+445,7
@@
sub is_reg_class {
###
sub get_reg_class {
my $reg = shift;
+ $reg = substr($reg, 1) if ($reg =~ /!.*/);
return $reg2class{"$reg"}{"class"} if (exists($reg2class{"$reg"}));
return undef;
}