]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.3] runtime: revise CL 105140044 (defer nil) to work on Windows
authorRuss Cox <rsc@golang.org>
Fri, 13 Jun 2014 01:52:52 +0000 (21:52 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 13 Jun 2014 01:52:52 +0000 (21:52 -0400)
commit64de40a55106b85e648d59b6a0fd4e27be4a10d2
treead4135d84bfd01d46f37d01f958e06a1b6d81109
parent69616e4e5bb4ef4dfbc065bef3df195ce8619e56
[release-branch.go1.3] runtime: revise CL 105140044 (defer nil) to work on Windows

««« CL 105120044 / 824ea5943ba8
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
»»»

LGTM=bradfitz
R=golang-codereviews, bradfitz, alex.brainman
CC=adg, golang-codereviews
https://golang.org/cl/108890045
src/pkg/runtime/stack.c