1
0
mirror of https://github.com/golang/go synced 2024-11-24 09:00:13 -07:00
go/misc/cgo/test
Keith Randall 2034fbab5b cmd/compile: use existing instructions instead of nops for inline marks
Instead of always inserting a nop to use as the target of an inline
mark, see if we can instead find an instruction we're issuing anyway
with the correct line number, and use that instruction. That way, we
don't need to issue a nop.

Makes cmd/go 0.3% smaller.

Update #29571

Change-Id: If6cfc93ab3352ec2c6e0878f8074a3bf0786b2f8
Reviewed-on: https://go-review.googlesource.com/c/go/+/158021
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
2019-03-25 16:49:29 +00:00
..
testdata cmd/cgo: simplify and fix handling of untyped constants 2019-03-06 21:16:20 +00:00
align.go
api.go
backdoor.go
basic.go
buildid_linux.go
callback_c_gc.c
callback_c_gccgo.c
callback_c.c
callback.go cmd/compile: use existing instructions instead of nops for inline marks 2019-03-25 16:49:29 +00:00
cflags.go
cgo_linux_test.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
cgo_stubs_android_test.go
cgo_test.go cmd/cgo: use C exact-width integer types to represent Go types 2019-03-18 21:08:21 +00:00
cgo_thread_lock.go
cgo_unix_test.go
checkconst.go
complex.go
cthread_unix.c cmd/dist, misc/cgo: enable tests for aix/ppc64 2019-03-20 14:38:44 +00:00
cthread_windows.c
cthread.go
duplicate_symbol.go
env.go misc: fix typos in various docs 2019-03-07 07:30:06 +00:00
exports.go
fpvar.go
helpers.go
issue1222.go
issue1328.go
issue1560.go
issue1635.go
issue2462.go
issue3250.go
issue3250w.go
issue3261.go
issue3729.go
issue3729w.go
issue3741.go
issue3775.go
issue3945.go
issue4029.c
issue4029.go
issue4029w.go
issue4054a.go
issue4054b.go
issue4273.c
issue4273b.c
issue4339.c
issue4339.go cmd/cgo: ensure the command passed to run retains a trailing dash 2018-12-19 15:47:36 +00:00
issue4339.h
issue4417.go
issue4857.go
issue5227.go
issue5242.go
issue5337.go
issue5337w.go
issue5548_c.c
issue5548.go
issue5603.go
issue5740.go
issue5740a.c
issue5740b.c
issue5986.go
issue6128.go
issue6390.go
issue6472.go
issue6506.go
issue6612.go
issue6833_c.c
issue6833.go
issue6907.go
issue6907export_c.c
issue6907export.go
issue6997_linux.c
issue6997_linux.go
issue7234_test.go
issue7560.go
issue7665.go
issue7786.go
issue7978.go
issue8092.go
issue8148.go
issue8331.h
issue8331a.go
issue8331b.go
issue8428.go
issue8441.go
issue8517_windows.c
issue8517_windows.go
issue8517.go
issue8694.go
issue8811.c
issue8811.go
issue8945.go
issue9557.go
issue10303.go
issue11925.go
issue12030.go
issue13402.go
issue13930.go
issue14838.go
issue17065.go
issue17537.go
issue18126.go
issue18146.go cmd/dist, misc/cgo: enable tests for aix/ppc64 2019-03-20 14:38:44 +00:00
issue18720.go
issue20129.go
issue20369.go
issue20910.c
issue20910.go
issue21668.go
issue21708.go
issue21809.go
issue21897.go misc/cgo/test: disable some Darwin tests in cgo mode 2018-07-23 15:16:01 +00:00
issue21897b.go misc/cgo/test: disable some Darwin tests in cgo mode 2018-07-23 15:16:01 +00:00
issue22958.go
issue23356.go
issue23720.go
issue24206_generic.go
issue24206.go
issue25143.go
issue26066.go
issue26517.go cmd/cgo: make sure we FinishType everything 2018-07-31 19:29:20 +00:00
issue28545.go cmd/cgo: recognize untyped constants defined in different files 2018-11-29 01:29:56 +00:00
issue28772.go cmd/cgo: recognize untyped constants defined in different files 2018-11-29 01:29:56 +00:00
issue28896.go cmd/cgo: use field alignment when setting field offset 2018-11-29 19:18:12 +00:00
issue29383.go cmd/cgo: don't let inserted /*line*/ become a // comment 2018-12-22 00:45:13 +00:00
issue29748.go cmd/cgo: don't replace newlines with semicolons in composite literals 2019-01-15 18:14:54 +00:00
issue29781.go cmd/cgo: don't replace newlines with semicolons in expressions 2019-01-18 03:25:40 +00:00
issue29878.go cmd/cgo: use C exact-width integer types to represent Go types 2019-03-18 21:08:21 +00:00
issue29878export.go cmd/cgo: use C exact-width integer types to represent Go types 2019-03-18 21:08:21 +00:00
issue30065.go cmd/cgo: don't copy a simple variable x in &x[0] 2019-02-04 06:53:49 +00:00
overlaydir_test.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
pkg_test.go misc/cgo/test: set PWD when executing 'go test' in an alternate GOPATH 2019-03-01 18:35:31 +00:00
setgid_linux.go
sigaltstack.go
sigprocmask.c
sigprocmask.go
test22906.go
test27660.go runtime: never call into race detector with retaken P 2018-11-09 21:47:48 +00:00
twoargs.go cmd/cgo: don't update each call in place 2018-11-02 05:35:56 +00:00