commit | 6fa9657df508ff4d7760cf1abfad3611ba808561 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Tue Jan 07 13:50:53 2020 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Jan 07 23:12:35 2020 +0000 |
tree | 4643f96e48639232cafbc5262fa5c18f9931d333 | |
parent | 86d223eaccecff72b44cd23a014bc028b658055e [diff] |
compiler, runtime: stop using __go_runtime_error Use specific panic functions instead, which are mostly already in the runtime package. Also correct "defer nil" to panic when we execute the defer, rather than throw when we queue it. Change-Id: I8f8cb164848b4ddf6e891974deb2dc1d606487df Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/213642 Reviewed-by: Cherry Zhang <cherryyz@google.com>