projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
345b82b
)
runtime: Use correct size for unsafe.Pointer GC instructions.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 5 Sep 2014 14:43:24 +0000
(14:43 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 5 Sep 2014 14:43:24 +0000
(14:43 +0000)
From-SVN: r214965
libgo/runtime/go-unsafe-pointer.c
patch
|
blob
|
history
diff --git
a/libgo/runtime/go-unsafe-pointer.c
b/libgo/runtime/go-unsafe-pointer.c
index 67b2999df5db89df3750119ceb01ba251f4d58f3..729e9a19736694439ede233745c2cb035f879e64 100644
(file)
--- a/
libgo/runtime/go-unsafe-pointer.c
+++ b/
libgo/runtime/go-unsafe-pointer.c
@@
-39,7
+39,7
@@
static const String reflection_string =
sizeof REFLECTION - 1
};
-const uintptr unsafe_Pointer_gc[] = {
8
, GC_APTR, 0, GC_END};
+const uintptr unsafe_Pointer_gc[] = {
sizeof(void*)
, GC_APTR, 0, GC_END};
const struct __go_type_descriptor unsafe_Pointer =
{