]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/asm, cmd/compile: add back newobj flag
authorCherry Zhang <cherryyz@google.com>
Fri, 20 Mar 2020 16:36:11 +0000 (12:36 -0400)
committerCherry Zhang <cherryyz@google.com>
Mon, 23 Mar 2020 14:38:49 +0000 (14:38 +0000)
commit330f53b6155954af81d8876a8dc251d8908db581
tree05d584e82cb9a0ae0648763f25cd004f302efc2c
parent54c32590f0369f1b67ad3c988424676d3f1eebb8
[dev.link] cmd/asm, cmd/compile: add back newobj flag

Add back the newobj flag, renamed to go115newobj, for feature
gating. The flag defaults to true.

This essentially reverts CL 206398 as well as CL 220060.

The old object format isn't working yet. Will fix in followup CLs.

Change-Id: I1ace2a9cbb1a322d2266972670d27bda4e24adbc
Reviewed-on: https://go-review.googlesource.com/c/go/+/224623
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/asm/internal/flags/flags.go
src/cmd/asm/main.go
src/cmd/compile/internal/gc/iexport.go
src/cmd/compile/internal/gc/iimport.go
src/cmd/compile/internal/gc/main.go
src/cmd/internal/obj/link.go
src/cmd/internal/obj/objfile.go
src/cmd/internal/obj/sizeof_test.go
src/cmd/internal/obj/sym.go