We currently always allocate registers for new global variables, but these are wasted when the variable is being redeclared. Only allocate new registers when necessary.
Created attachment 209397 [details] Fix
Comment on attachment 209397 [details] Fix Ooops, self r+!
Comment on attachment 209397 [details] Fix r=me
Committed revision 154466.