diff options
| author | Russ Cox <rsc@golang.org> | 2010-04-01 22:31:27 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2010-04-01 22:31:27 -0700 |
| commit | f75d0d224f1da1781f59bc9e836f8220130747a9 (patch) | |
| tree | 798bf99d5ad5c793c64312e6730c6e51768e3ed2 /src/pkg/runtime/hashmap.c | |
| parent | d6589377c6e48af1990ada22ea47e1bd131c5f62 (diff) | |
| download | go-f75d0d224f1da1781f59bc9e836f8220130747a9.tar.xz | |
runtime: turn run time errors checks into panics
R=ken2, r
CC=golang-dev
https://golang.org/cl/871042
Diffstat (limited to 'src/pkg/runtime/hashmap.c')
| -rw-r--r-- | src/pkg/runtime/hashmap.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pkg/runtime/hashmap.c b/src/pkg/runtime/hashmap.c index ccb5cfdb56..f27264b682 100644 --- a/src/pkg/runtime/hashmap.c +++ b/src/pkg/runtime/hashmap.c @@ -770,10 +770,6 @@ void mapaccess(h, ak, av, &pres); -// new spec -- all elements have "zero" value -// if(!pres) -// throw("runtime.mapaccess1: key not in map"); - if(debug) { prints("runtime.mapaccess1: map="); ·printpointer(h); |
