diff options
author | Russ Cox <rsc@golang.org> | 2010-04-08 18:15:30 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-04-08 18:15:30 -0700 |
commit | 2d19c2d8f2a9d759ecfa73d07ed1bab66f8ac24f (patch) | |
tree | 9042a434db46b9ee490ca915723872f355fd60f2 /src/pkg/runtime/freebsd/amd64/defs.h | |
parent | 1fa9a0c209f50aa6b8eac0755ce6ccd00ff2cf02 (diff) | |
download | golang-2d19c2d8f2a9d759ecfa73d07ed1bab66f8ac24f.tar.gz |
runtime: turn divide by zero, nil dereference into panics
tested on linux/amd64, linux/386, linux/arm, darwin/amd64, darwin/386.
freebsd untested; will finish in a separate CL.
for now all the panics are errorStrings.
richer structures can be added as necessary
once the mechanism is shaked out.
R=r
CC=golang-dev
http://codereview.appspot.com/906041
Diffstat (limited to 'src/pkg/runtime/freebsd/amd64/defs.h')
0 files changed, 0 insertions, 0 deletions