1
0
mirror of https://github.com/golang/go synced 2024-11-24 20:30:14 -07:00
go/src
Matthew Dempsky 3a11c8d319 cmd/compile: simplify if statement parsing
Somewhat notably, this means long if statement chains are now parsed
recursively, rather than iteratively.  This shouldn't be a concern
though, as several other functions (e.g., gen, typecheck, walk)
already use recursion to process the parsed if statement Node trees.

Change-Id: Ic8c12ace9021c870d60c06f5db86a48c4ec57084
Reviewed-on: https://go-review.googlesource.com/19756
Reviewed-by: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-02-20 18:59:57 +00:00
..
archive
bufio
builtin
bytes
cmd cmd/compile: simplify if statement parsing 2016-02-20 18:59:57 +00:00
compress
container
crypto
database/sql
debug
encoding all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
errors
expvar
flag
fmt fmt: remove math package dependency and avoid float operations 2016-02-19 22:55:30 +00:00
go cmd/compile: make -A and -newexport compatible 2016-02-19 21:42:04 +00:00
hash
html
image
index/suffixarray
internal
io
log
math all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
mime all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
net net: fix race in (*resolverConfig).tryUpdate 2016-02-20 10:03:47 +00:00
os all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
path all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
reflect
regexp all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
runtime runtime: use correct psABI SP alignment before calling libc mmap 2016-02-20 06:10:01 +00:00
sort sort: Fix typo in stable sort comment 2016-02-18 19:20:41 +00:00
strconv
strings
sync sync: deflake TestWaitGroupMisuse3 2016-02-03 20:03:32 +00:00
syscall
testing
text all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
time all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
unicode
unsafe
vendor
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash
make.bat
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc