go/src/cmd/compile/internal/gc
Cherry Zhang beeab6ac02 cmd/compile: fix go:uintptrescapes tag for unnamed parameters
The tag was overwritten by the code for special handling unnamed
parameters.

Fixes #23045.

Change-Id: Ie2e1db3e902a07a2bbbc2a3424cea300f0a42cc3
Reviewed-on: https://go-review.googlesource.com/82775
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2018-02-14 21:41:39 +00:00
..
builtin runtime: remove legacy eager write barrier 2018-02-13 16:34:46 +00:00
testdata cmd/compile: on ARM, make sure *const's AuxInt fit into int32 2017-10-31 20:14:55 +00:00
alg.go cmd/compile: remove some unused params in gc 2017-08-09 22:29:19 +00:00
align.go cmd/compile: avoid spurious errors for invalid map key types 2017-11-02 23:53:38 +00:00
asm_test.go cmd/compile: generate tbz/tbnz when comparing against zero on arm64 2018-02-14 15:52:41 +00:00
bexport.go cmd/compile: replace opnames with stringer 2017-11-10 10:56:22 +00:00
bimport.go cmd/compile: adjust lineno during import to get Pos right 2017-11-28 22:36:55 +00:00
bitset.go cmd/compile: inline calls to local closures 2017-10-11 22:32:36 +00:00
bootstrap.go cmd/compile: add mutex profiling support 2017-04-05 22:10:54 +00:00
builtin.go runtime: remove legacy eager write barrier 2018-02-13 16:34:46 +00:00
builtin_test.go all: use testing.GoToolPath instead of "go" 2016-08-30 22:49:11 +00:00
bv.go cmd/compile/internal/gc: unexport global constants 2017-09-23 20:11:30 +00:00
class_string.go cmd/compile: make Class a Stringer 2017-04-30 16:26:09 +00:00
closure.go cmd/compile: remove Local flags on Type and Node 2017-10-04 17:55:43 +00:00
const.go cmd/compile: clean up various bits of code 2017-10-22 15:50:50 +00:00
constFold_test.go cmd/compile: use std "DO NOT EDIT" comment for generated files 2017-03-31 18:50:40 +00:00
dcl.go cmd/compile: use NoXPos instead of lineno in typenod 2017-11-28 19:37:04 +00:00
dwinl.go cmd/compile: second attempt at fix for issue 23179 2017-12-20 20:39:16 +00:00
esc.go cmd/compile: fix go:uintptrescapes tag for unnamed parameters 2018-02-14 21:41:39 +00:00
export.go cmd/compile: make -asmhdr work with type aliases 2017-11-29 20:40:41 +00:00
fixedbugs_test.go cmd/compile: inline convT2{I,E} when result doesn't escape 2016-09-19 02:37:08 +00:00
float_test.go cmd/compile: test constant folded integer to/from float conversions 2017-09-16 09:17:58 +00:00
fmt.go cmd/compile: replace classnames with Class.String 2017-11-12 13:25:35 +00:00
gen.go cmd/compile: merge tempnamel into tempAt 2017-08-28 22:46:30 +00:00
global_test.go all: use testing.GoToolPath instead of "go" 2016-08-30 22:49:11 +00:00
go.go runtime: remove legacy eager write barrier 2018-02-13 16:34:46 +00:00
gsubr.go cmd/compile: eliminate NoFramePointer 2018-02-12 21:41:21 +00:00
iface_test.go cmd/compile: inline convT2{I,E} when result doesn't escape 2016-09-19 02:37:08 +00:00
init.go cmd/compile: add Type.NumResults and friends 2017-08-28 22:42:57 +00:00
inl.go cmd/compile: don't inline functions that call recover 2018-01-25 23:15:55 +00:00
inl_test.go cmd/go: implement per-package asmflags, gcflags, ldflags, gccgoflags 2017-11-09 15:04:04 +00:00
lex.go cmd/internal/objabi: extract shared functionality from obj 2017-04-19 00:00:09 +00:00
lex_test.go cmd/compile: provide line number for cgo directive error (fix a TODO) 2017-02-02 21:24:50 +00:00
logic_test.go cmd/compile: add tests for logical simplification rewrite rules 2016-05-26 22:16:52 +00:00
main.go cmd/compile/internal: decouple scope tracking from location lists 2018-02-14 18:29:18 +00:00
mkbuiltin.go cmd/compile: factor out Pkg, Sym, and Type into package types 2017-04-07 03:04:00 +00:00
mpfloat.go cmd/compile: better errors for float constants with large exponents 2017-05-08 22:56:10 +00:00
mpint.go cmd/compile: use Fatalf for more internal errors 2017-03-14 17:58:38 +00:00
noder.go cmd/go: accept only limited compiler and linker flags in #cgo directives 2018-02-07 15:35:57 +00:00
norace.go cmd/compile: randomize compilation order when race-enabled 2017-04-27 19:27:22 +00:00
obj.go cmd/compile: do not write slices/strings > 2g 2017-11-09 18:50:22 +00:00
op_string.go cmd/compile: replace opnames with stringer 2017-11-10 10:56:22 +00:00
order.go cmd/compile: replace range loop over list of nodes with orderexprlistinplace 2018-02-14 16:27:55 +00:00
pgen.go cmd/compile/internal: pass LocalSlot values, not pointers 2018-02-14 18:29:24 +00:00
pgen_test.go cmd/compile: move Used from gc.Node to gc.Name 2017-04-27 22:58:13 +00:00
phi.go cmd/compile: tweaks to unindent some code 2017-08-17 07:57:19 +00:00
plive.go cmd/compile: fix some plive comments 2017-10-11 18:29:36 +00:00
pprof.go cmd/compile: add mutex profiling support 2017-04-05 22:10:54 +00:00
race.go cmd/compile: randomize compilation order when race-enabled 2017-04-27 19:27:22 +00:00
racewalk.go cmd/compile: leave Pos unset for racewalk enter/exit 2017-11-17 16:56:42 +00:00
range.go cmd/compile: remove some more gotos in gc 2017-11-13 21:09:20 +00:00
reflect.go cmd/compile: don't put Noalg types in typelinks 2017-11-07 22:29:48 +00:00
reflect_test.go cmd/internal/obj: add SortSlice 2017-04-11 20:29:04 +00:00
reproduciblebuilds_test.go cmd/compile: make builds reproducible in presence of **byte and **int8 2017-05-09 21:15:12 +00:00
scope.go [dev.debug] cmd/compile: rename dwarf.Var.Offset to StackOffset 2017-07-25 19:33:14 +00:00
scope_test.go cmd/compile: fix lexical block of captured variables 2017-09-15 21:02:59 +00:00
select.go cmd/compile: remove some more gotos in gc 2017-11-13 21:09:20 +00:00
shift_test.go cmd/compile: test non-constant shifts 2016-06-01 00:06:00 +00:00
sinit.go cmd/compile: refactor method expression detection 2017-10-24 22:21:34 +00:00
sizeof_test.go cmd/compile: improve coverage of nowritebarrierrec check 2017-10-29 19:36:44 +00:00
ssa.go cmd/compile/internal: reuse memory for valueToProgAfter 2018-02-14 18:29:23 +00:00
ssa_test.go cmd/compile: fix path for go tool in test 2018-01-09 22:17:36 +00:00
subr.go cmd/internal/obj/x86: adjust SP correctly for tail calls 2018-02-12 21:41:19 +00:00
swt.go cmd/compile: deduplicate a few lines in swt.go 2017-10-11 23:03:47 +00:00
swt_test.go cmd/compile: reduce reliance on implementation details of Mpint 2017-04-07 17:08:34 +00:00
syntax.go cmd/compile: eliminate NoFramePointer 2018-02-12 21:41:21 +00:00
timings.go cmd/compile: add compiler phase timing 2016-08-17 17:27:04 +00:00
trace.go cmd/compile/internal/gc: add runtime/trace support 2016-10-12 13:57:26 +00:00
truncconst_test.go cmd/compile: diagnose constant division by complex zero 2017-04-12 17:29:28 +00:00
typecheck.go cmd/compile: report the struct type in invalid number of initializer values 2018-02-13 19:42:15 +00:00
types.go cmd/compile/internal/types: remove Cmptmp 2017-04-07 22:11:36 +00:00
types_acc.go cmd/compile: factor out Pkg, Sym, and Type into package types 2017-04-07 03:04:00 +00:00
universe.go cmd/compile: simplify exporting universal 'error' type 2017-09-06 20:14:17 +00:00
unsafe.go cmd/compile: silence unnecessary unsafe error 2017-10-24 02:28:02 +00:00
util.go cmd/compile: add mutex profiling support 2017-04-05 22:10:54 +00:00
walk.go cmd/compile: use unsigned loads for multi-element comparisons 2018-02-06 18:24:33 +00:00