view tools/regs_use.pl @ 701:bf4fd39737e9

fix static in parse mode
author kono
date Tue, 23 Oct 2007 09:58:37 +0900
parents 7c3d8237b625
children
line wrap: on
line source

#!/usr/bin/perl
$d = 0;
while(<>) {
   s/get_register\(\d*\)/get_register($d)/g;
   s/get_lregister\(\d*\)/get_lregister($d)/g;
   $d++;
   print;
}