commit | 83727ccf7c3b90b540d8683240e9fb3032d31890 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Mon Mar 29 21:48:22 2010 -0700 |
committer | Russ Cox <rsc@golang.org> | Mon Mar 29 21:48:22 2010 -0700 |
tree | 05b4a54f71b354a1a9de49a88cbfffeb2683ab4e | |
parent | bc32dd9ec4b81aa6b53da2a0b9b6cc6f8d3a8e92 [diff] [blame] |
runtime: run deferred calls at Goexit baby step toward panic+recover. Fixes #349. R=r CC=golang-dev https://golang.org/cl/825043
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index d20d5b9..2671a05 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h
@@ -239,6 +239,7 @@ // fp == gobuf.sp except in the case of a reflected // function call, which uses an off-stack argument frame. uint8* fp; + bool free; // call stackfree for this frame? }; struct Alg {