]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove state.exitCode
authorMatthew Dempsky <mdempsky@google.com>
Thu, 8 Mar 2018 10:20:26 +0000 (02:20 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 8 Mar 2018 18:22:04 +0000 (18:22 +0000)
commit8b766e5d09bc4bf2e4fc365111b60a400b144f83
treeefce970f5f98c83146f438026668a9247b6612c9
parente3127f023f6a591699bcaa5b6fb2844ecee794ea
cmd/compile: remove state.exitCode

We're holding onto the function's complete AST anyway, so might as
well grab the exit code from there.

Passes toolstash-check.

Change-Id: I851b5dfdb53f991e9cd9488d25d0d2abc2a8379f
Reviewed-on: https://go-review.googlesource.com/99417
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/ssa.go