diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-14 05:53:10 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-14 05:53:10 +0000 |
commit | a9182619ab5197801530d62474a89f8b9b051b39 (patch) | |
tree | 075a60d271b289fa96fb47546b7be74d188590e1 /libgo/runtime/go-reflect-call.c | |
parent | 54284a18203ecdd4314e0fc6f8192823ab77d48c (diff) | |
download | gcc-a9182619ab5197801530d62474a89f8b9b051b39.tar.gz |
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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175008 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/runtime/go-reflect-call.c')
-rw-r--r-- | libgo/runtime/go-reflect-call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-reflect-call.c b/libgo/runtime/go-reflect-call.c index a769142c3df..27177e2fc73 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) |