gcc/libgo/go
Ian Lance Taylor 94f56408db compiler, runtime: copy slice code from Go 1.7 runtime
Change the compiler handle append as the gc compiler does: call a
    function to grow the slice, but otherwise assign the new elements
    directly to the final slice.
    
    For the current gccgo memory allocator the slice code has to call
    runtime_newarray, not mallocgc directly, so that the allocator sets the
    TypeInfo_Array bit in the type pointer.
    
    Rename the static function cnew to runtime_docnew, so that the stack
    trace ignores it when ignoring runtime functions.  This was needed to
    fix the runtime/pprof tests on 386.
    
    Reviewed-on: https://go-review.googlesource.com/32218

From-SVN: r241667
2016-10-28 22:34:47 +00:00
..
archive
bufio
builtin
bytes
cmd
compress
container
context
crypto
database/sql
debug debug/elf: add sparc64 relocations 2016-10-14 17:16:55 +00:00
encoding
errors
exp
expvar
flag
fmt
go
golang_org/x/net
hash
html
image
index/suffixarray
internal syscall, internal/syscall/unix: Fix getrandom, clone on sparc64 2016-10-12 14:28:05 +00:00
io
log
math
mime
net
old
os
path
reflect
regexp
runtime compiler, runtime: copy slice code from Go 1.7 runtime 2016-10-28 22:34:47 +00:00
sort
strconv
strings
sync
syscall syscall: don't use pt_regs in clone_linux.c 2016-10-13 04:19:57 +00:00
testing
text
time re PR go/78144 (FAIL: time on systems with tzdata2016g installed) 2016-10-28 20:21:52 +00:00
unicode