• Russ Cox's avatar
    6l, 8l: avoid recursion in asmandsz · 837c204a
    Russ Cox authored
    The old code said
    
    	if(x) {
    		handle a
    		return
    	}
    	aa = *a
    	rewrite aa to make x true
    	recursivecall(&aa)
    
    The new code says
    
    	params = copy out of a
    	if(!x) {
    		rewrite params to make x true
    	}
    	handle params
    
    but it's hard to see that in the Rietveld diffs because
    it gets confused by changes in indentation.
    
    Avoiding the recursion makes other changes easier.
    
    R=ken2
    CC=golang-dev
    https://golang.org/cl/2533041
    837c204a
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...