diff options
| author | Iskander Sharipov <iskander.sharipov@intel.com> | 2018-09-05 18:49:52 +0300 |
|---|---|---|
| committer | Iskander Sharipov <iskander.sharipov@intel.com> | 2018-09-17 11:06:01 +0000 |
| commit | 2d82465d18520820c52fea6b5e400a692ffdb92a (patch) | |
| tree | e8af195bdb3d8880810afe788e95b048c9fd8b4c /src/syscall/syscall_linux_test.go | |
| parent | 930ce09ca3a1ab5f886c2327fc143b9ae075807b (diff) | |
| download | go-2d82465d18520820c52fea6b5e400a692ffdb92a.tar.xz | |
cmd/compile/internal/gc: treat cap/len as safe in mayAffectMemory
OLEN and OCAP can't affect memory state as long as their
arguments don't.
Re-organized case bodies to avoid duplicating same branches for
recursive invocations.
Change-Id: I30407143429f7dd1891badb70df88969ed267535
Reviewed-on: https://go-review.googlesource.com/133555
Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/syscall/syscall_linux_test.go')
0 files changed, 0 insertions, 0 deletions
