]> Cypherpunks repositories - gostls13.git/commit
runtime: revise CL 105140044 (defer nil) to work on Windows
authorRuss Cox <rsc@golang.org>
Fri, 13 Jun 2014 01:12:53 +0000 (21:12 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 13 Jun 2014 01:12:53 +0000 (21:12 -0400)
commit060a988011b34ded3e002e1a4cb138b7ed21b176
tree7d7e3cef981acc1195aa43ed32d931e5247151b1
parente209a0fa06f03f098b16381fc79aa6aea9210b18
runtime: revise CL 105140044 (defer nil) to work on Windows

It appears that something about Go on Windows
cannot handle the fault cause by a jump to address 0.
The way Go represents and calls functions, this
never happened at all, until CL 105140044.

This CL changes the code added in CL 105140044
to make jump to 0 impossible once again.

Fixes #8047. (again, on Windows)

TBR=bradfitz
R=golang-codereviews, dave
CC=adg, golang-codereviews, iant, r
https://golang.org/cl/105120044
src/pkg/runtime/stack.c