• Russ Cox's avatar
    make every func literal expression allocate, · 9346c6d9
    Russ Cox authored
    so that == on func means that the
    functions originated in the same
    execution of a func literal or definition.
    
    before, there was an inconsistency:
    
    	func() {x++} != func() {x++}
    
    but
    
    	func() {} == func() {}
    
    this CL makes the second case != too,
    just like
    
    	make(map[int]int) != make(map[int]int)
    
    R=r
    DELTA=202  (71 added, 62 deleted, 69 changed)
    OCL=32393
    CL=32398
    9346c6d9
Name
Last commit
Last update
..
386 Loading commit data...
amd64 Loading commit data...
arm Loading commit data...
darwin Loading commit data...
linux Loading commit data...
Makefile Loading commit data...
array.c Loading commit data...
cgo2c.c Loading commit data...
chan.c Loading commit data...
extern.go Loading commit data...
float.cgo Loading commit data...
hashmap.c Loading commit data...
hashmap.h Loading commit data...
iface.c Loading commit data...
malloc.cgo Loading commit data...
malloc.h Loading commit data...
mcache.c Loading commit data...
mcentral.c Loading commit data...
mem.c Loading commit data...
mfixalloc.c Loading commit data...
mgc0.c Loading commit data...
mheap.c Loading commit data...
mheapmap32.c Loading commit data...
mheapmap32.h Loading commit data...
mheapmap64.c Loading commit data...
mheapmap64.h Loading commit data...
mkasmh Loading commit data...
msize.c Loading commit data...
print.c Loading commit data...
proc.c Loading commit data...
reflect.cgo Loading commit data...
rune.c Loading commit data...
runtime.c Loading commit data...
runtime.h Loading commit data...
sema.cgo Loading commit data...
string.cgo Loading commit data...
symtab.c Loading commit data...
type.go Loading commit data...
type.h Loading commit data...