diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-30 00:21:52 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-30 00:21:52 +0000 |
commit | 3eb0217ca6de584509a9922075b14417f82a11d5 (patch) | |
tree | 365c588a8f44625a3f5aa828c39bd4189af0bb46 /libgo/runtime/go-map-delete.c | |
parent | 9a959f2a57cd4e1fe7f6713a38aaa61e64bb6c8b (diff) | |
download | gcc-3eb0217ca6de584509a9922075b14417f82a11d5.tar.gz |
runtime: Copy runtime_panicstring from master library.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181830 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/runtime/go-map-delete.c')
-rw-r--r-- | libgo/runtime/go-map-delete.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/runtime/go-map-delete.c b/libgo/runtime/go-map-delete.c index a8f928f0c9a..cb10d8dcdc0 100644 --- a/libgo/runtime/go-map-delete.c +++ b/libgo/runtime/go-map-delete.c @@ -7,9 +7,9 @@ #include <stddef.h> #include <stdlib.h> +#include "runtime.h" #include "go-alloc.h" #include "go-assert.h" -#include "go-panic.h" #include "map.h" /* Delete the entry matching KEY from MAP. */ @@ -27,7 +27,7 @@ __go_map_delete (struct __go_map *map, const void *key) void **pentry; if (map == NULL) - __go_panic_msg ("deletion of entry in nil map"); + runtime_panicstring ("deletion of entry in nil map"); descriptor = map->__descriptor; |