]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: fix function call memory
authorKeith Randall <khr@golang.org>
Wed, 12 Aug 2015 19:54:47 +0000 (12:54 -0700)
committerKeith Randall <khr@golang.org>
Wed, 12 Aug 2015 20:35:53 +0000 (20:35 +0000)
commitd56d2fa20611bd30fce294c2523b859600b8dc18
treee3fb4a1ad1fb6c2990bb96331ef8677f348d5b2b
parentce9778891400e0c6b9ad245e1e9b4bca2a08a3c9
[dev.ssa] cmd/compile: fix function call memory

We need to move the memory variable update back to before endBlock
so that all successors use the right memory value.

See https://go-review.googlesource.com/13560

Change-Id: Id72e5526c56e5e070b933d3b28dc503a5a2978dc
Reviewed-on: https://go-review.googlesource.com/13586
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/gc/ssa.go