]> Cypherpunks repositories - gostls13.git/commit
5l: optimize the common case in patch()
authorShenghou Ma <minux.ma@gmail.com>
Tue, 31 Jan 2012 15:59:34 +0000 (10:59 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 31 Jan 2012 15:59:34 +0000 (10:59 -0500)
commit2d64bab1ded3c17d1e73ee1dcacf1aafae223317
tree10547bbe90838e53ac2f83530f54a834be39f911
parent94b796133b3a236530f933362a3feb90af1fcbf2
5l: optimize the common case in patch()
    If p->to.sym->text is non-nil, then no need to search for sym->value.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5601046
src/cmd/5l/pass.c