diff options
author | Ian Lance Taylor <iant@golang.org> | 2020-12-22 22:26:43 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-12-23 08:55:46 -0800 |
commit | f3f237f7ee009d3cbcca83c77bc4d54bcae62308 (patch) | |
tree | d808428b1b08a761d38579c04cc873e0f7a3f782 /gcc/go/gofrontend | |
parent | feb3c40c8ee043cc893410c9985926439292caee (diff) | |
download | gcc-f3f237f7ee009d3cbcca83c77bc4d54bcae62308.zip gcc-f3f237f7ee009d3cbcca83c77bc4d54bcae62308.tar.gz gcc-f3f237f7ee009d3cbcca83c77bc4d54bcae62308.tar.bz2 |
compiler: remove references to slicecopy and slicestringcopy
The only calls to the runtime functions were removed in CL 170005.
The slicestringcopy function will be removed in the Go 1.16beta1 release.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/279932
Diffstat (limited to 'gcc/go/gofrontend')
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 | ||||
-rw-r--r-- | gcc/go/gofrontend/escape.cc | 2 | ||||
-rw-r--r-- | gcc/go/gofrontend/runtime.def | 8 |
3 files changed, 1 insertions, 11 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index e67aa36..fbac942 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -013a4ddcae2e8b840561c4411bab87f4f0f9ef42 +d238487d5c6e0c7f12c38305060fba8b7ec3605f The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/gcc/go/gofrontend/escape.cc b/gcc/go/gofrontend/escape.cc index 8962f3f..cf68874 100644 --- a/gcc/go/gofrontend/escape.cc +++ b/gcc/go/gofrontend/escape.cc @@ -363,8 +363,6 @@ Node::op_format() const op << "append"; break; - case Runtime::SLICECOPY: - case Runtime::SLICESTRINGCOPY: case Runtime::TYPEDSLICECOPY: op << "copy"; break; diff --git a/gcc/go/gofrontend/runtime.def b/gcc/go/gofrontend/runtime.def index 7ab94a3..ec01be0 100644 --- a/gcc/go/gofrontend/runtime.def +++ b/gcc/go/gofrontend/runtime.def @@ -242,14 +242,6 @@ DEF_GO_RUNTIME(DEFERRETURN, "runtime.deferreturn", P1(BOOLPTR), R0()) DEF_GO_RUNTIME(CLOSE, "runtime.closechan", P1(CHAN), R0()) -// Copy. -DEF_GO_RUNTIME(SLICECOPY, "runtime.slicecopy", - P5(POINTER, INT, POINTER, INT, UINTPTR), R1(INT)) - -// Copy from string. -DEF_GO_RUNTIME(SLICESTRINGCOPY, "runtime.slicestringcopy", - P3(POINTER, INT, STRING), R1(INT)) - // Copy of value containing pointers. DEF_GO_RUNTIME(TYPEDSLICECOPY, "runtime.typedslicecopy", P5(TYPE, POINTER, INT, POINTER, INT), R1(INT)) |