aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/go-reflect-call.c
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2011-06-14 05:53:10 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-06-14 05:53:10 +0000
commit3b8dffe701e9a1f6641f3ff1f08899614ce38ae0 (patch)
tree075a60d271b289fa96fb47546b7be74d188590e1 /libgo/runtime/go-reflect-call.c
parent8365a060e613196d31719832af2a4cb2b9886a30 (diff)
downloadgcc-3b8dffe701e9a1f6641f3ff1f08899614ce38ae0.zip
gcc-3b8dffe701e9a1f6641f3ff1f08899614ce38ae0.tar.gz
gcc-3b8dffe701e9a1f6641f3ff1f08899614ce38ae0.tar.bz2
Change builtin make to runtime call at lowering time.
Use kindNoPointers as 6g does. * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H). From-SVN: r175008
Diffstat (limited to 'libgo/runtime/go-reflect-call.c')
-rw-r--r--libgo/runtime/go-reflect-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-reflect-call.c b/libgo/runtime/go-reflect-call.c
index a769142..27177e2 100644
--- a/libgo/runtime/go-reflect-call.c
+++ b/libgo/runtime/go-reflect-call.c
@@ -161,7 +161,7 @@ go_complex_to_ffi (ffi_type *float_type)
static ffi_type *
go_type_to_ffi (const struct __go_type_descriptor *descriptor)
{
- switch (descriptor->__code)
+ switch (descriptor->__code & GO_CODE_MASK)
{
case GO_BOOL:
if (sizeof (_Bool) == 1)