summaryrefslogtreecommitdiffstats
path: root/libgo/go/reflect
Commit message (Collapse)AuthorAgeFilesLines
* reflect: Fix MakeFunc returning float32 or float64 on 386.ian2013-12-122-15/+26
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205932 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, reflect, runtime: Implement method values in reflect.ian2013-12-126-44/+115
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205913 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect, runtime: Let reflect.MakeFunc functions call recover.ian2013-12-112-0/+31
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205908 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Rename struct field to be consistent in assembler and Go.ian2013-11-301-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205555 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Fix MakeFunc for 386 when returning a struct.ian2013-11-302-1/+14
| | | | | | | | | When a 386 function returns a struct, it needs to return using an rtd instruction that pops the hidden struct parameter off the stack. That wasn't happening. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205551 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Handle calls to functions that take or return empty structsian2013-11-191-0/+40
| | | | | | | | | | | | Fixes issue 6761 This simple change seems to work fine, slightly to my surprise. This includes the tests I submitted to the main Go repository at https://codereview.appspot.com/26570046 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205001 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to October 24 version of master library.ian2013-11-066-92/+404
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204466 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Use C style comments in 386 assembly for Solaris assembler.ian2013-10-071-23/+24
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203249 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Fix calling Interface method on value created by MakeFunc.ian2013-10-042-1/+25
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203212 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Use hand-coded .eh_frame section rather than CFI directives.ian2013-10-022-21/+162
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203120 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Fix reflect.Call with function following non-pointer.ian2013-10-012-2/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203052 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Copy stack values onto heap in amd64 MakeFunc.ian2013-09-271-2/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202995 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Implement MakeFunc for 386.ian2013-09-274-2/+248
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202993 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Implement MakeFunc for amd64.ian2013-09-276-77/+634
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202982 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Fix bug calling method on indirect value.ian2013-09-171-1/+7
| | | | | | | | | The gccgo-specific iword function was checking v.kind, but for a method value that is always Func. Fix to check v.typ.Kind() instead. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202670 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, runtime: Use runtime functions to pass closure value.ian2013-09-031-7/+0
| | | | | | | | | | | | This changes the compiler and runtime to not pass a closure value as the last argument, but to instead pass it via __go_set_closure and retrieve it via __go_get_closure. This eliminates the need for function descriptor wrapper functions. It will make it possible to retrieve the closure value in a reflect.MakeFunc function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202233 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.1.1.ian2013-07-167-143/+775
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200974 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, runtime: Use function descriptors.ian2013-06-183-11/+37
| | | | | | | | | | | | | | | | This changes the representation of a Go value of function type from being a pointer to function code (like a C function pointer) to being a pointer to a struct. The first field of the struct points to the function code. The remaining fields, if any, are the addresses of variables referenced in enclosing functions. For each call to a function, the address of the function descriptor is passed as the last argument. This lets us avoid generating trampolines, and removes the use of writable/executable sections of the heap. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200181 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update Go library to master revision 15489/921e53d4863c.ian2013-01-291-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195560 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current master library sources.ian2012-12-122-5/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194460 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current version of master library.ian2012-11-216-249/+673
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193688 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Fix invalid sharing in valueInterface.ian2012-11-191-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193614 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Fix bug comparing struct field types.ian2012-11-101-3/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193395 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current sources.ian2012-10-237-100/+1917
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192704 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.0.3.ian2012-10-032-1/+25
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192025 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, reflect: Quote package path with tabs.ian2012-06-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188548 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, reflect: Handle package path like gc compiler.ian2012-06-121-2/+22
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188482 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Use -fgo-pkgpath.ian2012-05-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187485 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.0.1 release.ian2012-05-042-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187163 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-03-22.ian2012-03-302-14/+37
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186026 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-03-13.ian2012-03-302-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186023 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-03-04 release.ian2012-03-064-5/+45
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185010 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-02-14 release.ian2012-03-022-89/+98
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184798 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-02-07.ian2012-02-092-3/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184034 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, reflect: Fix hash codes of named types, fix PtrTo hash.ian2012-02-042-2/+28
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183889 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2012-01-20.ian2012-01-252-3/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183540 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Give an error if a variable is defined but not used.ian2012-01-232-11/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183458 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2011-12-14.ian2012-01-122-6/+18
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183118 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2011-12-06.ian2011-12-142-10/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182338 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2011-11-18.ian2011-12-124-737/+756
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182266 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2011-11-02.ian2011-12-032-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181964 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to weekly.2011-11-01.ian2011-12-021-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181938 138bc75d-0d04-0410-961f-82ee72b054a4
* Update Go library to last weekly.ian2011-10-263-25/+120
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180552 138bc75d-0d04-0410-961f-82ee72b054a4
* Update Go library to r60.3 release.ian2011-10-223-42/+106
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180327 138bc75d-0d04-0410-961f-82ee72b054a4
* Update Go library to release r60.1.ian2011-09-221-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179076 138bc75d-0d04-0410-961f-82ee72b054a4
* Update Go library to r60.ian2011-09-163-49/+253
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178910 138bc75d-0d04-0410-961f-82ee72b054a4
* Update to current version of Go library.ian2011-05-206-1838/+2706
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173931 138bc75d-0d04-0410-961f-82ee72b054a4
* Update to current version of Go library.ian2011-03-242-51/+44
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171427 138bc75d-0d04-0410-961f-82ee72b054a4
* Update to current version of Go library (revision 94d654be2064).ian2011-03-164-51/+296
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171076 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove the types float and complex.ian2011-01-213-52/+125
| | | | | | | | | | | | | Update to current version of Go library. Update testsuite for removed types. * go-lang.c (go_langhook_init): Omit float_type_size when calling go_create_gogo. * go-c.h: Update declaration of go_create_gogo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169098 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud