summaryrefslogtreecommitdiff
path: root/libgo/runtime/go-eface-val-compare.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-30 00:21:52 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-30 00:21:52 +0000
commit3eb0217ca6de584509a9922075b14417f82a11d5 (patch)
tree365c588a8f44625a3f5aa828c39bd4189af0bb46 /libgo/runtime/go-eface-val-compare.c
parent9a959f2a57cd4e1fe7f6713a38aaa61e64bb6c8b (diff)
downloadgcc-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-eface-val-compare.c')
-rw-r--r--libgo/runtime/go-eface-val-compare.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/runtime/go-eface-val-compare.c b/libgo/runtime/go-eface-val-compare.c
index d754cc5f36e..fed3fdb4432 100644
--- a/libgo/runtime/go-eface-val-compare.c
+++ b/libgo/runtime/go-eface-val-compare.c
@@ -4,7 +4,7 @@
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file. */
-#include "go-panic.h"
+#include "runtime.h"
#include "go-type.h"
#include "interface.h"
@@ -21,7 +21,7 @@ __go_empty_interface_value_compare (
left_descriptor = left.__type_descriptor;
if (((uintptr_t) left_descriptor & reflectFlags) != 0)
- __go_panic_msg ("invalid interface value");
+ runtime_panicstring ("invalid interface value");
if (left_descriptor == NULL)
return 1;
if (!__go_type_descriptors_equal (left_descriptor, right_descriptor))